Skip to content

Commit 4cfdaaa

Browse files
authored
CI/CD pipeline release publishing updated
Set the release draft status to true in the publish workflow.
1 parent f9d842b commit 4cfdaaa

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ jobs:
147147
tag_name: ${{ steps.newtag.outputs.tag }}
148148
release_name: ${{ steps.newtag.outputs.tag }}
149149
body: ${{ steps.newtag.outputs.body }}
150+
draft: true
150151
env:
151152
GITHUB_TOKEN: ${{ secrets._TOKEN }}
152153

@@ -168,3 +169,10 @@ jobs:
168169
rm _config.txt
169170
gh release upload "$TAG" "$file" --repo "$REPO" --clobber
170171
done
172+
173+
- name: Publish release
174+
uses: eregon/publish-release@v1
175+
with:
176+
release_id: ${{ steps.crelease.outputs.id }}
177+
env:
178+
GITHUB_TOKEN: ${{ secrets._TOKEN }}

0 commit comments

Comments
 (0)