Skip to content

Commit

Permalink
Merge commit 'ee71967054486ebbdb4580563cfcdd4a30c85aa2' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
alocane committed Oct 26, 2020
2 parents 0d5e79a + ee71967 commit f1c785f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,10 @@ check_version() {
isSnapshot=true
fi
unset isRC
if [[ $baseVersion =~ .*-rc[1-9]?[0-9]* ]]; then
if [[ $version =~ .*-rc[1-9]?[0-9]*(-SNAPSHOT)? ]]; then
isRC=true
fi

baseVersion=${baseVersion%%-*}
patchNumber=$(get_patch_number "$baseVersion")
log "checking version $version (baseVersion:$baseVersion, isSnapshot:${isSnapshot:-false}, isRC:${isRC:-false}, patchNumber:$patchNumber) in branch $branch"

Expand Down

0 comments on commit f1c785f

Please sign in to comment.