We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69bda6d commit a5345e6Copy full SHA for a5345e6
1 file changed
.github/workflows/update-release.yml
@@ -0,0 +1,35 @@
1
+name: Modify release
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v2
14
15
+ - name: Get version from tag
16
+ id: tag_name
17
+ run: |
18
+ echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
19
+ shell: bash
20
21
+ - name: Get Changelog Entry
22
+ id: changelog_reader
23
+ uses: mindsers/changelog-reader-action@v2
24
+ with:
25
+ version: ${{ steps.tag_name.outputs.current_version }}
26
+ path: ./Changelog.md
27
28
+ - name: Update release
29
+ id: update_release
30
+ uses: tubone24/update_release@v1.0
31
+ env:
32
+ GITHUB_TOKEN: ${{ github.token }}
33
34
+ release_name: ${{ steps.changelog_reader.outputs.version }}
35
+ body: ${{ steps.changelog_reader.outputs.changes }}
0 commit comments