File tree Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Unit tests
2
+ on :
3
+ push :
4
+ branches : [release/*]
5
+ jobs :
6
+ changelog :
7
+ name : Update the changelog
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+
11
+ - name : Check out code
12
+ uses : actions/checkout@v3
13
+
14
+ - name : Parse the version from release branch
15
+ id : parse_version
16
+ run : echo ::set-output name=version::${GITHUB_REF#refs/heads/release/}
17
+
18
+ - name : Update changelog
19
+ uses : thomaseizinger/keep-a-changelog-new-release@v2
20
+ with :
21
+ tag : ${{ steps.parse_version.outputs.version }}
22
+
23
+ - uses : EndBug/add-and-commit@v9
24
+ with :
25
+ message : " Update changelog for ${{ steps.parse_version.outputs.version }}"
26
+ committer_name : GitHub Actions
27
+ committer_email :
[email protected]
Original file line number Diff line number Diff line change @@ -24,5 +24,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
24
24
- Initial version
25
25
26
26
27
- [ unreleased ] : https://github.com/glothriel/gin-rest-framework/compare/v0 .0.4...HEAD
28
- [ 1.1.1 ] : https://github.com/glothriel/gin-rest-framework/compare/v0 .0.1...v0 .0.4
27
+ [ unreleased ] : https://github.com/glothriel/gin-rest-framework/compare/0 .0.4...HEAD
28
+ [ 1.1.1 ] : https://github.com/glothriel/gin-rest-framework/compare/0 .0.1...0 .0.4
You can’t perform that action at this time.
0 commit comments