Skip to content

Commit

Permalink
Cut -rc.1 for the first release candidate on a new branch
Browse files Browse the repository at this point in the history
Instead of cutting rc.0 we should intend to cut rc.1 for the first
release candidate if the parent branch is `master`.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
  • Loading branch information
saschagrunert committed Jul 9, 2020
1 parent ade199d commit 7686c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/releaselib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ release::set_release_version () {
RELEASE_VERSION[alpha]="v${release_branch[major]}"
RELEASE_VERSION[alpha]+=".$((${release_branch[minor]}+1)).0-alpha.0"
RELEASE_VERSION[rc]="v${release_branch[major]}.${release_branch[minor]}"
RELEASE_VERSION[rc]+=".0-rc.0"
RELEASE_VERSION[rc]+=".0-rc.1"
RELEASE_VERSION_PRIME=${RELEASE_VERSION[rc]}
elif [[ $branch =~ release- ]]; then
# Build out the RELEASE_VERSION dict
Expand Down

0 comments on commit 7686c67

Please sign in to comment.