Skip to content

Commit 8821adc

Browse files
svrdlansjnmandal
authored andcommitted
Update regex to be able to publish rc packages (#10)
1 parent 669df67 commit 8821adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule Bless.MixProject do
33

44
@version_file Path.join(__DIR__, ".version")
55
@external_resource @version_file
6-
@version (case Regex.run(~r/^v([\d\.]+)/, File.read!(@version_file),
6+
@version (case Regex.run(~r/^v([\d\.\w-]+)/, File.read!(@version_file),
77
capture: :all_but_first
88
) do
99
[version] -> version

0 commit comments

Comments
 (0)