Skip to content

Commit 18b2a0b

Browse files
Create GH release directly as published instea of draft
1 parent ae41e9f commit 18b2a0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-v2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ jobs:
249249
env:
250250
COMMIT_SHA: ${{ env.COMMIT_SHA }}
251251

252+
# Generate a token with "create release" permission (the default token has no such permission)
252253
- uses: actions/create-github-app-token@v1
253254
id: app-token
254255
with:
@@ -260,7 +261,6 @@ jobs:
260261
gh release create $SEMVER_TAG \
261262
--target $COMMIT_SHA \
262263
--title $SEMVER_TAG \
263-
--draft \
264264
--repo $REPOSITORY
265265
env:
266266
GH_TOKEN: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)