We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 212f7af commit cdeb08dCopy full SHA for cdeb08d
.github/workflows/update-changelog.yml
@@ -0,0 +1,30 @@
1
+on:
2
+ push:
3
+ tags:
4
+ - "*"
5
+
6
+jobs:
7
+ release:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Perform release
11
+ uses: actions/checkout@v3
12
+ with:
13
+ fetch-depth: 0
14
15
+ - name: Cocogitto release
16
+ id: release
17
+ uses: cocogitto/cocogitto-action@v3
18
19
+ release: true
20
+ git-user: "Cog Bot"
21
+ git-user-email: "mycoolproject@org.org"
22
23
+ - name: Generate Changelog
24
+ run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md
25
26
+ - name: Upload github release
27
+ uses: softprops/action-gh-release@v1
28
29
+ body_path: GITHUB_CHANGELOG.md
30
+ tag_name: ${{ steps.release.outputs.version }}
0 commit comments