Skip to content

Commit 711bfee

Browse files
authored
ci: use idempotent labels when creating a release candidate pull request (#578)
1 parent 8bd01fe commit 711bfee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,6 @@ jobs:
139139
gh pr edit "$EXISTING_PR" --title "$PR_TITLE" --body "$PR_BODY" --milestone "Next Release" --add-label "release" --add-label "semver:${SEMVER}"
140140
echo "Updated PR #$EXISTING_PR"
141141
else
142-
gh pr create --draft --head rc --base main --title "$PR_TITLE" --body "$PR_BODY" --milestone "Next Release" --add-label "release" --add-label "semver:${SEMVER}"
142+
gh pr create --draft --head rc --base main --title "$PR_TITLE" --body "$PR_BODY" --milestone "Next Release" --label "release" --label "semver:${SEMVER}"
143143
echo "Created new release PR"
144144
fi

0 commit comments

Comments
 (0)