Skip to content

Commit ba08729

Browse files
committed
Added a workflow for auto generation of github releases
1 parent d406da2 commit ba08729

File tree

2 files changed

+27
-10
lines changed

2 files changed

+27
-10
lines changed

.github/release.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
changelog:
2+
categories:
3+
- title: Breaking Changes
4+
labels:
5+
- Semver-Major
6+
- breaking-change
7+
- title: New features
8+
labels:
9+
- Semver-Minor
10+
- enhancement
11+
- title: Other Changes
12+
labels:
13+
- "*"

.github/workflows/release.yaml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,27 @@ jobs:
1515
release:
1616
needs: call_run_ci
1717
runs-on: ubuntu-24.04
18-
permissions:
19-
id-token: write
20-
environment:
21-
name: testpypi
22-
url: https://test.pypi.org/p/cite-runner
18+
# permissions:
19+
# id-token: write
20+
# environment:
21+
# name: testpypi
22+
# url: https://test.pypi.org/p/cite-runner
2323
steps:
2424
- name: "Download artifact"
2525
uses: actions/download-artifact@v4
2626
with:
2727
name: ${{ needs.call_run_ci.outputs.artifact_name }}
2828
path: dist
29-
- name: "Publish to testpypi"
30-
uses: pypa/gh-action-pypi-publish@v1.12.4
31-
with:
32-
attestations: "true"
33-
repository-url: "https://test.pypi.org/legacy/"
3429
- name: "Create GitHub release"
3530
uses: softprops/action-gh-release@v2.2.1
3631
with:
3732
files: dist/*
33+
fail_on_unmatched_files: true
34+
generate_release_notes: true
35+
body_path: CHANGELOG.md
36+
append_body: true
37+
# - name: "Publish to testpypi"
38+
# uses: pypa/gh-action-pypi-publish@v1.12.4
39+
# with:
40+
# attestations: "true"
41+
# repository-url: "https://test.pypi.org/legacy/"

0 commit comments

Comments
 (0)