Hasan Iqbal commited on
Commit
e0985cf
1 Parent(s): bc0edff

Updated release script to accomodate dev and rc

Browse files
Files changed (1) hide show
  1. scripts/release.sh +1 -1
scripts/release.sh CHANGED
@@ -36,7 +36,7 @@ VERSION_BUMP=${VERSION:1}
36
  BRANCH=$(git rev-parse --abbrev-ref HEAD)
37
 
38
  # Require valid format for version
39
- rx='^v[0-9]+\.[0-9]+\.[0-9]+$'
40
  if ! [[ $VERSION =~ $rx ]]; then
41
  c_echo $RED "The version must be in the format 'vX.X.X'"
42
  exit 1
 
36
  BRANCH=$(git rev-parse --abbrev-ref HEAD)
37
 
38
  # Require valid format for version
39
+ rx='^v[0-9]+\.[0-9]+\.[0-9]+(-(dev|rc)[0-9]+)?$'
40
  if ! [[ $VERSION =~ $rx ]]; then
41
  c_echo $RED "The version must be in the format 'vX.X.X'"
42
  exit 1