Skip to content

Commit 3331fcf

Browse files
AssemblyVersion doesn't support arbitrary strings
1 parent aedf983 commit 3331fcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dist-lib.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
##---------------------------------------------------------------------------
4242

4343
function assembly-version {
44-
local RELEASE_PATTERN="^[0-9]+(\.[0-9a-z]+){2,3}$"
45-
local NIGHTLY_PATTERN="^[0-9]+(\.[0-9a-z]+){2,3}$"
44+
local RELEASE_PATTERN="^[0-9]+(\.[0-9]+){2,3}$"
45+
local NIGHTLY_PATTERN="^[0-9]+(\.[0-9]+){2,3}$"
4646
if [[ $1 =~ $RELEASE_PATTERN ]] ; then
4747
ASSEMBLY_VSN=$RABBIT_VSN.0
4848
elif [[ $1 =~ $NIGHTLY_PATTERN ]] ; then

0 commit comments

Comments
 (0)