We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f3f7bf1 + 43bacad commit 0117f3eCopy full SHA for 0117f3e
.github/workflows/release.yaml
@@ -0,0 +1,31 @@
1
+# This workflow creates a release for every pushed tag with a changelog based on conventional commits.
2
+name: Release
3
+
4
+on:
5
+ push:
6
+ tags:
7
+ - '*'
8
9
+jobs:
10
+ create-release:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v2
16
17
+ - name: Create changelog.yml text
18
+ id: changelog
19
+ uses: loopwerk/tag-changelog@v1
20
+ with:
21
+ token: ${{ secrets.GITHUB_TOKEN }}
22
+ exclude_types: other,doc,chore,build
23
24
+ - name: Create release
25
+ uses: actions/create-release@latest
26
+ env:
27
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
29
+ tag_name: ${{ github.ref }}
30
+ release_name: ${{ github.ref }}
31
+ body: ${{ steps.changelog.outputs.changes }}
0 commit comments