Skip to content

Commit

Permalink
Merge pull request knative#253 from openshift/fix-script
Browse files Browse the repository at this point in the history
Fix create-release-branch script.
  • Loading branch information
openshift-merge-robot authored Sep 18, 2019
2 parents 679a34f + 80e1586 commit 503b443
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openshift/release/create-release-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ release=$1
target=$2
release_regexp="^release-v([0-9]\.)+([0-9])$"

if [[ ! $release =~ $release_re ]]; then
echo "\"$release\" is wrong format. Must have proper format like release-v0.1.2"
if [[ ! $target =~ $release_regexp ]]; then
echo "\"$target\" is wrong format. Must have proper format like release-v0.1.2"
exit 1
fi

Expand Down

0 comments on commit 503b443

Please sign in to comment.