Skip to content

Commit

Permalink
Use cli for GitHub release (#42)
Browse files Browse the repository at this point in the history
* github cli for release test

* Update gated.yml

* Update gated.yml

* Update gated.yml

* Update gated.yml

* clean up
  • Loading branch information
Tum4ik authored Feb 8, 2024
1 parent 6ea9e47 commit 0f08dc3
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/gated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,11 @@ jobs:
name: ReleaseNotes

- name: GitHub release
uses: softprops/[email protected]
with:
tag_name: ${{ needs.build.outputs.version }}
draft: false
body_path: ReleaseNotes.txt
fail_on_unmatched_files: true
env:
GH_REPO: ${{ github.repository }}
GITHUB_TOKEN: ${{ github.token }}
run: |
gh release create ${{ needs.build.outputs.version }} `
--latest `
--title ${{ needs.build.outputs.version }} `
--notes-file ReleaseNotes.txt

0 comments on commit 0f08dc3

Please sign in to comment.