We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b6ca12 commit 4dace0aCopy full SHA for 4dace0a
.github/workflows/auto-release.yml
@@ -47,9 +47,9 @@ jobs:
47
48
- name: Convert release to draft
49
run: |
50
- RELEASE_ID=$(gh release view v$(jq -r .version package.json) --repo $GITHUB_REPOSITORY --json id -q .id)
51
- gh release edit $RELEASE_ID --draft --repo $GITHUB_REPOSITORY
+ TAG=${{ steps.release.outputs.tag }}
+ echo "Updating release $TAG to draft"
52
+ RELEASE_ID=$(gh release view "$TAG" --json id -q .id)
53
+ gh release edit "$RELEASE_ID" --draft
54
env:
55
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
-
0 commit comments