Skip to content

Commit 6cc2130

Browse files
committed
Release branch
1 parent ec4aace commit 6cc2130

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

.github/workflows/changelog.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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]

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424
- Initial version
2525

2626

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

0 commit comments

Comments
 (0)