Skip to content

Commit

Permalink
ci: Add 'release.yaml' + fix gh release🐙 (#63)
Browse files Browse the repository at this point in the history
* ci: Add 'release.yaml' + fix gh release

* ci: rename to 'publish.yaml' for trusted publishing
  • Loading branch information
KarelZe authored Jan 6, 2024
1 parent 57af0e7 commit 8b94b1e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
19 changes: 19 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# .github/release.yml

changelog:
exclude:
labels:
- ignore-for-release
authors:
- octocat
categories:
- title: Code
labels:
- python
- enhancement
- title: Documentation
labels:
- documentation
- title: Other Changes
labels:
- "*"
5 changes: 2 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ jobs:
gh release create
'${{ github.ref_name }}'
--repo '${{ github.repository }}'
--notes ""
--title 'v${{ github.ref_name }}'
--generate-notes
- name: Upload artifact signatures to GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
Expand All @@ -90,8 +91,6 @@ jobs:
run: >-
gh release upload
'${{ github.ref_name }}' dist/**
--title 'v${{ github.ref_name }}'
--generate-notes
--repo '${{ github.repository }}'
publish-to-testpypi:
Expand Down

0 comments on commit 8b94b1e

Please sign in to comment.