Skip to content

Commit

Permalink
chore: added CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kasvith committed Jun 13, 2024
1 parent 9cbe258 commit deddecc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}

- name: build-linux
if: matrix.os == 'ubuntu-latest'
run: sudo snap install snapcraft --classic && pnpm build:linux
Expand All @@ -67,6 +74,7 @@ jobs:
- name: release
uses: softprops/action-gh-release@v2
with:
body: ${{ steps.changelog.outputs.changes }}
draft: true
files: |
dist/*.exe
Expand All @@ -81,3 +89,10 @@ jobs:
dist/*.blockmap
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Commit CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: main
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
file_pattern: CHANGELOG.md

0 comments on commit deddecc

Please sign in to comment.