Skip to content

Commit

Permalink
Merge pull request #141 from Guts/tooling/gh-release
Browse files Browse the repository at this point in the history
Add GH release changelog template
  • Loading branch information
Guts authored Oct 3, 2022
2 parents d745545 + efcd6e5 commit 67b730a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
22 changes: 22 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
changelog:
exclude:
authors:
- dependabot
- pre-commit-ci
categories:
- title: Bugs fixes 🐛
labels:
- bug
- title: Features and enhancements 🎉
labels:
- compliance
- enhancement
- title: Tooling 🔧
labels:
- ci-cd
- title: Documentation 📖
labels:
- documentation
- title: Other Changes
labels:
- "*"
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ jobs:
python -m pip install --upgrade twine
python -m pip install -r requirements.txt
- name: Transform git tag into GitHub Release with assets
uses: marvinpinto/action-automatic-releases@v1.2.1
- name: Create/update release on GitHub
uses: ncipollo/release-action@v1.11.0
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: dist/*
allowUpdates: true
artifacts: "dist/*"
generateReleaseNotes: true
omitNameDuringUpdate: true
token: ${{ secrets.GITHUB_TOKEN }}

- name: Build and publish
env:
Expand Down

0 comments on commit 67b730a

Please sign in to comment.