Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/release-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ jobs:
git config user.email $GIT_USER_EMAIL
git push --atomic --set-upstream origin HEAD $TAG_NAME

- name: Create Draft Release
env:
GH_TOKEN: ${{ github.token }}
TAG_NAME: ${{ steps.createTagName.outputs.TAG_NAME }}
run: gh release create $TAG_NAME --title $TAG_NAME --verify-tag --draft

# Uses the built-in token, so no personal access token has to be kept valid.
# Pushes and pull requests made with it don't trigger workflows, so the required
# "Build" check is started explicitly; workflow_dispatch is exempt from that rule.
Expand All @@ -121,9 +127,3 @@ jobs:
gh pr create --title "Release $RELEASE_VERSION" --body "" --base "$CHECKOUT_BRANCH_NAME" --reviewer ${{ github.actor }}
gh workflow run build.yml --ref "$PR_BRANCH_NAME"
gh pr merge $PR_BRANCH_NAME --auto --rebase --delete-branch

- name: Create Draft Release
env:
GH_TOKEN: ${{ github.token }}
TAG_NAME: ${{ steps.createTagName.outputs.TAG_NAME }}
run: gh release create $TAG_NAME --title $TAG_NAME --verify-tag --draft
Loading