We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
release.yaml
1 parent fe0caa1 commit b105f24Copy full SHA for b105f24
‎.github/workflows/release.yaml‎
@@ -0,0 +1,33 @@
1
+name: release
2
+
3
+on: push
4
5
+permissions:
6
+ contents: write
7
8
+jobs:
9
+ release:
10
+ runs-on: ubuntu-latest
11
+ if: startsWith(github.ref, 'refs/tags/')
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
+ with:
16
+ fetch-depth: 0
17
+ fetch-tags: true
18
19
+ - name: Setup uv
20
+ uses: astral-sh/setup-uv@v5
21
22
+ - name: Setup Python
23
+ uses: actions/setup-python@v5
24
25
+ python-version-file: ".python-version"
26
27
+ - name: Prepare release notes
28
+ run: uvx --from commitizen --with cz-conventional-gitmoji cz changelog ${{ github.ref_name }} --file-name release-notes.md
29
30
+ - name: Create release
31
+ uses: softprops/action-gh-release@v2
32
33
+ body_path: release-notes.md
0 commit comments