Skip to content

Commit bbe85cb

Browse files
authored
Merge pull request #41 from ansidev/release/1.1.2
Release v1.1.2
2 parents 5e1f424 + 77e587a commit bbe85cb

File tree

4 files changed

+200
-59
lines changed

4 files changed

+200
-59
lines changed

.chglog/CHANGELOG.tpl.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
6+
7+
{{ range .Versions }}
8+
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})
9+
{{ range .CommitGroups }}
10+
### {{ .Title }}
11+
{{ range .Commits }}
12+
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
13+
{{ end -}}
14+
{{ end -}}
15+
16+
{{- if .NoteGroups -}}
17+
{{ range .NoteGroups -}}
18+
### {{ .Title }}
19+
{{ range .Notes }}
20+
{{ .Body }}
21+
{{ end }}
22+
{{ end -}}
23+
{{ end }}
24+
Full Changelog: {{ if .Tag.Previous }}[{{ .Tag.Previous.Name }}...{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/commits/{{ .Tag.Name }}){{ end }}
25+
{{ end }}
26+
27+
{{- if .Versions }}
28+
{{ range .Versions -}}
29+
{{ if .Tag.Previous -}}
30+
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
31+
{{ end -}}
32+
{{ end -}}
33+
{{ end -}}

.chglog/config.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
style: github
2+
template: CHANGELOG.tpl.md
3+
info:
4+
title: CHANGELOG
5+
repository_url: https://github.com/ansidev/sample-gitflow-release-workflows
6+
options:
7+
commits:
8+
filters:
9+
Type:
10+
- feat
11+
- fix
12+
- perf
13+
- refactor
14+
- docs
15+
commit_groups:
16+
title_maps:
17+
feat: Features
18+
fix: Bug Fixes
19+
perf: Performance Improvements
20+
refactor: Code Refactoring
21+
docs: Documentations
22+
header:
23+
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
24+
pattern_maps:
25+
- Type
26+
- Scope
27+
- Subject
28+
notes:
29+
keywords:
30+
- BREAKING CHANGE

CHANGELOG.md

Lines changed: 136 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,145 +1,223 @@
11
# Changelog
22

3-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
3+
All notable changes to this project will be documented in this file.
44

5-
## [1.1.1](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0...v1.1.1) (2023-02-14)
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
66

77

8+
## [v1.1.2] (2023-02-15)
9+
10+
### Documentations
11+
12+
- **changelog:** change format of CHANGELOG.md
13+
14+
### Features
15+
16+
- **dev-tool:** add git-chglog config
17+
18+
Full Changelog: [v1.1.1...v1.1.2](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.1...v1.1.2)
19+
20+
## [v1.1.1] (2023-02-14)
21+
22+
Full Changelog: [v1.1.1-rc.0...v1.1.1](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.1-rc.0...v1.1.1)
23+
24+
## [v1.1.1-rc.0] (2023-02-14)
25+
826
### Bug Fixes
927

10-
Workflows
28+
- **workflow-draft-release-hotfix-pr:** correct bash syntax
29+
30+
- **workflow-release:** set the release as pre-release depending on the version
31+
32+
Full Changelog: [v1.1.0...v1.1.1-rc.0](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0...v1.1.1-rc.0)
1133

12-
* **release.yaml:** Auto set the release as pre-release depending on the version
34+
## [v1.1.0] (2023-02-14)
1335

14-
## [1.1.1-rc.0](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0...v1.1.1-rc.0) (2023-02-14)
36+
Full Changelog: [v1.1.0-rc.3...v1.1.0](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.3...v1.1.0)
37+
38+
## [v1.1.0-rc.3] (2023-02-14)
1539

1640
### Bug Fixes
1741

18-
* **workflow-draft-release-hotfix-pr:** correct bash syntax ([e2b4f5d](https://github.com/ansidev/sample-gitflow-release-workflows/commit/e2b4f5d5b4f9534d0bd12eda8845b8d7c5da070f))
19-
* **workflow-release:** set the release as pre-release depending on the version ([dad55ae](https://github.com/ansidev/sample-gitflow-release-workflows/commit/dad55ae20f9482519d7a5c7b80051c8b812656ba))
42+
- **workflow-auto-merge-release-hotfix-into-develop:** add missing step checkout repository
2043

21-
## [1.1.0](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.2...v1.1.0) (2023-02-14)
44+
Full Changelog: [v1.1.0-rc.2...v1.1.0-rc.3](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.2...v1.1.0-rc.3)
2245

23-
### Features
46+
## [v1.1.0-rc.2] (2023-02-14)
47+
48+
### Bug Fixes
2449

25-
Workflows
50+
- **workflow-auto-merge-release-hotfix-into-develop:** set environment variable `GH_TOKEN`
2651

27-
* **draft_release_hotfix_pr.yaml:** Auto create draft PR on pushing to release/hotfix branch
28-
* **auto_merge_release_hotfix_into_develop.yaml:** Auto merge branch release/hotfix into develop after new version was released.
52+
- **workflow-draft-release-hotfix-pr:** fix PR is missing label `pre-release`
2953

3054
### Documentations
3155

32-
* **readme:** updated.
56+
- **readme:** add reference documentations
57+
58+
Full Changelog: [v1.1.0-rc.1...v1.1.0-rc.2](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.1...v1.1.0-rc.2)
3359

34-
## [1.1.0-rc.3](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.2...v1.1.0-rc.3) (2023-02-14)
60+
## [v1.1.0-rc.1] (2023-02-14)
3561

3662
### Bug Fixes
3763

38-
* **workflow-auto-merge-release-hotfix-into-develop:** add missing step checkout repository ([0ad55e9](https://github.com/ansidev/sample-gitflow-release-workflows/commit/0ad55e940fbb28eed070fd4926a0597aed0b1f87))
64+
- **workflow-draft-release-hotfix-pr:** fix PR is missing label `pre-release`
65+
66+
- **workflow-draft-release-hotfix-pr:** correct wrong logic
67+
68+
### Documentations
69+
70+
- update README.md
71+
72+
### Features
73+
74+
- **workflow-auto-merge-release-hotfix-into-develop:** add new workflow for auto merging release/hotfix into develop ([#26](https://github.com/ansidev/sample-gitflow-release-workflows/issues/26))
3975

40-
## [1.1.0-rc.2](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.1...v1.1.0-rc.2) (2023-02-14)
76+
- **workflow-auto-merge-release-hotfix-into-develop:** add new workflow for auto merging release/hotfix into develop
77+
78+
Full Changelog: [v1.1.0-rc.0...v1.1.0-rc.1](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.0...v1.1.0-rc.1)
79+
80+
## [v1.1.0-rc.0] (2023-02-14)
4181

4282
### Bug Fixes
4383

44-
* **workflow-auto-merge-release-hotfix-into-develop:** set environment variable `GH_TOKEN` ([5e57d0e](https://github.com/ansidev/sample-gitflow-release-workflows/commit/5e57d0e99cf383b1926b8d263a90c128009046e6))
45-
* **workflow-draft-release-hotfix-pr:** fix PR is missing label `pre-release` ([9c63f52](https://github.com/ansidev/sample-gitflow-release-workflows/commit/9c63f522430ddc3e689081f4df5345be5fdd3494))
84+
- **workflow-draft_release_hotfix_pr:** ignore creating PR if it exists, add custom PR description
4685

47-
### Documentations
86+
- **workflow-draft_release_hotfix_pr:** correct syntax
4887

49-
* **readme:** add reference documentations ([3c310e3](https://github.com/ansidev/sample-gitflow-release-workflows/commit/3c310e3d591481b7c7d8daa748a8f838c0702dd5))
88+
### Documentations
5089

51-
## [1.1.0-rc.1](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.0...v1.1.0-rc.1) (2023-02-14)
90+
- update README.md
5291

5392
### Features
5493

55-
* **workflow-auto-merge-release-hotfix-into-develop:** add new workflow for auto merging release/hotfix into develop ([c9d2c41](https://github.com/ansidev/sample-gitflow-release-workflows/commit/c9d2c413e1c3e3aeb1d3c31c529b96f5c29e4bf5))
94+
- **workflow-draft-release-hotfix-pr:** add new workflow for auto creating draft pr on pushing release or hotfix branch
95+
96+
Full Changelog: [v1.0.2...v1.1.0-rc.0](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.2...v1.1.0-rc.0)
97+
98+
## [v1.0.2] (2023-02-13)
5699

57100
### Bug Fixes
58101

59-
* **workflow-draft-release-hotfix-pr:** correct wrong logic ([f36ddf1](https://github.com/ansidev/sample-gitflow-release-workflows/commit/f36ddf1e174e72b65b21efa41f623ce2371d0355))
60-
* **workflow-draft-release-hotfix-pr:** fix PR is missing label `pre-release` ([fe4d1e0](https://github.com/ansidev/sample-gitflow-release-workflows/commit/fe4d1e00b9d2517bbe0f89794ea2668bea5765fa))
102+
- **github-actions:** fix PR body
61103

62104
### Documentations
63105

64-
* **readme:** update README.md ([bd62d5a](https://github.com/ansidev/sample-gitflow-release-workflows/commit/bd62d5abd674b76d452b3b1c151749ca572f3f79))
106+
- update README.md
65107

66-
## [1.1.0-rc.0](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.2...v1.1.0-rc.0) (2023-02-13)
108+
Full Changelog: [v1.0.2-rc.0...v1.0.2](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.2-rc.0...v1.0.2)
67109

68-
### Features
110+
## [v1.0.2-rc.0] (2023-02-13)
69111

70-
* **workflow-draft-release-hotfix-pr:** add new workflow for auto creating draft pr on pushing release or hotfix branch ([c539237](https://github.com/ansidev/sample-gitflow-release-workflows/commit/c53923703db4aaa1289092fe76482f98a10e6bea))
112+
### Features
71113

72-
### Documentations
114+
- **workflow-release:** auto create merge commit for PR on merging
73115

74-
* **readme:** update README.md ([9175012](https://github.com/ansidev/sample-gitflow-release-workflows/commit/9175012bed48f47fc08e681983ad21f81e8e2f04))
116+
- **workflow-release:** auto merge PR after creating ([#18](https://github.com/ansidev/sample-gitflow-release-workflows/issues/18))
75117

76-
## [1.0.2](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.2-rc.0...v1.0.2) (2023-02-13)
118+
- **workflow-release:** auto merge PR after creating
77119

78-
### Bug Fixes
120+
Full Changelog: [v1.0.1-rc.7...v1.0.2-rc.0](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.7...v1.0.2-rc.0)
79121

80-
* **github-actions:** fix PR body ([4701d3a](https://github.com/ansidev/sample-gitflow-release-workflows/commit/4701d3a33ea1f9563662ac0ddeb47ceb972e66d6))
122+
## [v1.0.1-rc.7] (2023-02-13)
81123

82-
## [1.0.2-rc.0](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.7...v1.0.2-rc.0) (2023-02-13)
124+
### Bug Fixes
83125

84-
### Features
126+
- **github-actions:** fix failed command gh pr create
85127

86-
* **workflow-release:** auto create merge commit for PR on merging ([bc07fe5](https://github.com/ansidev/sample-gitflow-release-workflows/commit/bc07fe522fc2dbc8ea4171be7404a8870f4dce38))
87-
* **workflow-release:** auto merge PR after creating ([85a272f](https://github.com/ansidev/sample-gitflow-release-workflows/commit/85a272f377da0589b55bbc9420d933237f41ff6e))
128+
Full Changelog: [v1.0.1-rc.6...v1.0.1-rc.7](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.6...v1.0.1-rc.7)
88129

89-
## [1.0.1-rc.7](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.6...v1.0.1-rc.7) (2023-02-13)
130+
## [v1.0.1-rc.6] (2023-02-13)
90131

91132
### Bug Fixes
92133

93-
* **github-actions:** fix failed command gh pr create ([c57d773](https://github.com/ansidev/sample-gitflow-release-workflows/commit/c57d773547c355bbff010a12d602f4abb0cb985d))
134+
- **github-actions:** correct command flag value
135+
136+
Full Changelog: [v1.0.1-rc.5...v1.0.1-rc.6](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.5...v1.0.1-rc.6)
94137

95-
## [1.0.1-rc.6](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.5...v1.0.1-rc.6) (2023-02-13)
138+
## [v1.0.1-rc.5] (2023-02-13)
96139

97140
### Bug Fixes
98141

99-
* **github-actions:** correct command flag value ([95af6a2](https://github.com/ansidev/sample-gitflow-release-workflows/commit/95af6a2f92adb1f3a6709c9225b3028aedbc5987))
142+
- **github-actions:** revert wrong changes
100143

101-
## [1.0.1-rc.5](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.4...v1.0.1-rc.5) (2023-02-13)
144+
Full Changelog: [v1.0.1-rc.4...v1.0.1-rc.5](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.4...v1.0.1-rc.5)
145+
146+
## [v1.0.1-rc.4] (2023-02-13)
102147

103148
### Bug Fixes
104149

105-
* **github-actions:** revert wrong changes ([1e044df](https://github.com/ansidev/sample-gitflow-release-workflows/commit/1e044dfd9746afbe7263c484813a8a26920119bf))
150+
- **github-actions:** fix fail steps and refactor code
151+
152+
Full Changelog: [v1.0.1-rc.3...v1.0.1-rc.4](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.3...v1.0.1-rc.4)
106153

107-
## [1.0.1-rc.4](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.3...v1.0.1-rc.4) (2023-02-12)
154+
## [v1.0.1-rc.3] (2023-02-13)
108155

109156
### Bug Fixes
110157

111-
* **github-actions:** fix fail steps and refactor code ([872d740](https://github.com/ansidev/sample-gitflow-release-workflows/commit/872d740b98dd15adc988079744656814229f37d5))
158+
- **github-actions:** remove invalid command flag
159+
160+
Full Changelog: [v1.0.1-rc.2...v1.0.1-rc.3](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.2...v1.0.1-rc.3)
112161

113-
## [1.0.1-rc.3](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.2...v1.0.1-rc.3) (2023-02-12)
162+
## [v1.0.1-rc.2] (2023-02-13)
114163

115164
### Bug Fixes
116165

117-
* **github-actions:** remove invalid command flag ([1794f4c](https://github.com/ansidev/sample-gitflow-release-workflows/commit/1794f4cc27e9053e6ddbbccd01d7d0895812d510))
166+
- **github-actions:** add missing checkout step
118167

119-
## [1.0.1-rc.2](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.1...v1.0.1-rc.2) (2023-02-12)
168+
Full Changelog: [v1.0.1-rc.1...v1.0.1-rc.2](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.1...v1.0.1-rc.2)
169+
170+
## [v1.0.1-rc.1] (2023-02-13)
120171

121172
### Bug Fixes
122173

123-
* **github-actions:** add missing checkout step ([e20f63a](https://github.com/ansidev/sample-gitflow-release-workflows/commit/e20f63ababd316d413b9573c727c68717b3b480d))
174+
- **github-actions:** correct syntax
175+
176+
Full Changelog: [v1.0.1-rc.0...v1.0.1-rc.1](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.0...v1.0.1-rc.1)
124177

125-
## [1.0.1-rc.1](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.0...v1.0.1-rc.1) (2023-02-12)
178+
## [v1.0.1-rc.0] (2023-02-13)
126179

127180
### Bug Fixes
128181

129-
* **github-actions:** correct syntax ([dcea1b6](https://github.com/ansidev/sample-gitflow-release-workflows/commit/dcea1b6fde978a05ca3ff8855af26600e7a9f226))
182+
- **github-actions:** rename repository secret variable GITHUB_TOKEN to GH_TOKEN
183+
184+
### Documentations
130185

131-
## [1.0.1-rc.0](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.0-rc.1...v1.0.1-rc.0) (2023-02-12)
186+
- update README.md
132187

133188
### Features
134189

135-
* **github-actions:** update workflow using GitHub CLI ([d46d2c0](https://github.com/ansidev/sample-gitflow-release-workflows/commit/d46d2c0d4fcde955b68d40400d51a33747a73016))
190+
- **github-actions:** update workflow using GitHub CLI
136191

137-
### Bug Fixes
192+
Full Changelog: [v1.0.0-rc.1...v1.0.1-rc.0](https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.0-rc.1...v1.0.1-rc.0)
193+
194+
## v1.0.0-rc.1 (2023-02-13)
138195

139-
* **github-actions:** rename repository secret variable GITHUB_TOKEN to GH_TOKEN ([5da410e](https://github.com/ansidev/sample-gitflow-release-workflows/commit/5da410ee04fe1151835df35f4795dab51d18aa18))
196+
### Bug Fixes
140197

141-
## 1.0.0-rc.1 (2023-02-12)
198+
- **github-actions:** rename repository secret variable GITHUB_TOKEN to GH_TOKEN
142199

143-
### Features
200+
### Documentations
144201

145-
* **ci:** add workflow release ([b6d71ae](https://github.com/ansidev/sample-gitflow-release-workflows/commit/b6d71aeb3e913af7261e62c9091802078f6cb6b5))
202+
- update README.md
203+
204+
Full Changelog: [v1.0.0-rc.1](https://github.com/ansidev/sample-gitflow-release-workflows/commits/v1.0.0-rc.1)
205+
206+
[v1.1.2]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.1...v1.1.2
207+
[v1.1.1]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.1-rc.0...v1.1.1
208+
[v1.1.1-rc.0]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0...v1.1.1-rc.0
209+
[v1.1.0]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.3...v1.1.0
210+
[v1.1.0-rc.3]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.2...v1.1.0-rc.3
211+
[v1.1.0-rc.2]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.1...v1.1.0-rc.2
212+
[v1.1.0-rc.1]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.1.0-rc.0...v1.1.0-rc.1
213+
[v1.1.0-rc.0]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.2...v1.1.0-rc.0
214+
[v1.0.2]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.2-rc.0...v1.0.2
215+
[v1.0.2-rc.0]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.7...v1.0.2-rc.0
216+
[v1.0.1-rc.7]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.6...v1.0.1-rc.7
217+
[v1.0.1-rc.6]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.5...v1.0.1-rc.6
218+
[v1.0.1-rc.5]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.4...v1.0.1-rc.5
219+
[v1.0.1-rc.4]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.3...v1.0.1-rc.4
220+
[v1.0.1-rc.3]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.2...v1.0.1-rc.3
221+
[v1.0.1-rc.2]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.1...v1.0.1-rc.2
222+
[v1.0.1-rc.1]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.1-rc.0...v1.0.1-rc.1
223+
[v1.0.1-rc.0]: https://github.com/ansidev/sample-gitflow-release-workflows/compare/v1.0.0-rc.1...v1.0.1-rc.0

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.1
1+
1.1.2

0 commit comments

Comments
 (0)