Skip to content

Commit

Permalink
ci: generate release with automatic changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
aslafy-z committed Nov 6, 2024
1 parent e9feade commit a839c37
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,25 @@ jobs:
name: Release
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0 # See: https://goreleaser.com/ci/actions/

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
name: ${{ github.ref }}
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
generate_release_notes: true
draft: false
prerelease: false
make_latest: true

- name: Notify Slack
uses: 8398a7/action-slack@v3
Expand Down

0 comments on commit a839c37

Please sign in to comment.