We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cffd050 commit 5b566d7Copy full SHA for 5b566d7
1 file changed
.github/workflows/release.yml
@@ -343,8 +343,12 @@ jobs:
343
echo "Latest rc num: $LATEST_RC_NUM"
344
if [ -z "$LATEST_RC_NUM" ]; then
345
# the last minor was a full release, we need to start the next minor release candidate
346
- # this sort of assumes there wont be a patch release
347
- LATEST_MINOR_NUM=$((LATEST_MINOR_NUM + 1))
+ if [ -z "$LATEST_MINOR_NUM" ]; then
+ # this is a new minor branch
348
+ LATEST_MINOR_NUM=0
349
+ else
350
+ LATEST_MINOR_NUM=$((LATEST_MINOR_NUM + 1))
351
+ fi
352
LATEST_PATCH_NUM=0
353
NEXT_RC_NUM=0
354
else
0 commit comments