Skip to content

Commit

Permalink
ci: updates release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
apoclyps committed Nov 14, 2023
1 parent a3c7cb4 commit 64bbdbf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,19 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token

- name: Test
run: |
cz changelog
- name: Release
uses: softprops/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
CHANGELOG.md
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: "body.md"
body: |
${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: false
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Unreleased

### Feat

- configures example package

0 comments on commit 64bbdbf

Please sign in to comment.