Skip to content

Commit fe8ee89

Browse files
4.2.2
1 parent d22245a commit fe8ee89

File tree

9 files changed

+104
-7
lines changed

9 files changed

+104
-7
lines changed

CHANGELOG.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,237 +1,334 @@
11
# Changelog
22

3+
## [4.2.2] - 2022-02-05
4+
5+
### Fixed
6+
7+
- [Issue #61](https://github.com/anton-yurchenko/git-release/issues/61) Improve assets upload retry mechanism (*Thanks to [kongsgard](https://github.com/kongsgard), [rgriebl](https://github.com/rgriebl))
8+
9+
### Added
10+
11+
- [Issue #61](https://github.com/anton-yurchenko/git-release/issues/61) Recover from 422/UnprocessableEntity and 502/BadGateway errors during assets upload (*Thanks to [kongsgard](https://github.com/kongsgard), [rgriebl](https://github.com/rgriebl))
12+
13+
### Changed
14+
15+
- Update dependencies
16+
317
## [4.2.1] - 2021-12-15
18+
419
### Fixed
20+
521
- Error uploading an asset during retry loop
622

723
## [4.2.0] - 2021-11-25
24+
825
### Added
26+
927
- Retry assets uploads
1028

1129
### Changed
30+
1231
- Update dependencies
1332

1433
## [4.1.2] - 2021-10-18
34+
1535
### Fixed
36+
1637
- [Issue #54](https://github.com/anton-yurchenko/git-release/issues/54) Empty scopes during changelog parsing (*Thanks to [Wolf2323](https://github.com/Wolf2323)*)
1738

1839
### Changed
40+
1941
- Update dependencies
2042

2143
## [4.1.1] - 2021-08-22
44+
2245
### Fixed
46+
2347
- Crash when changelog does not contain changes for a version
2448
- Changelog references
2549

2650
### Changed
51+
2752
- Update to GoLang 1.17
2853
- Update dependencies
2954

3055
## [4.1.0] - 2021-07-02
56+
3157
### Added
58+
3259
- [Issue #47](https://github.com/anton-yurchenko/git-release/issues/47) Recreate `Unreleased` release on each execution (*Thanks to [cb80](https://github.com/cb80)*)
3360

3461
## [4.0.1] - 2021-06-24
62+
3563
### Changed
64+
3665
- Provide more descriptive error messages
3766

3867
## [4.0.0] - 2021-06-16
68+
3969
### Changed
70+
4071
- Enforce changelog file format to comply with **Keep a Changelog**/**Common Changelog**
4172
- Allow `v` prefix without `ALOW_TAG_PREFIX` (*still required for other prefixes*)
4273
- Update Dependencies
4374
- Update to Golang 1.16
4475
- Not existing changelog file won't fail the execution, but will log this as error. Set `CHANGELOG_FILE=none` to silence an error message
4576

4677
### Added
78+
4779
- [Issue #46](https://github.com/anton-yurchenko/git-release/issues/46) Support GitHub Enterprise (*Thanks to [cb80](https://github.com/cb80)*)
4880

4981
### Removed
82+
5083
- `ALLOW_TAG_PREFIX` was replaced with `TAG_PREFIX_REGEX`
5184
- `RELEASE_NAME_POSTFIX` was replaced with `RELEASE_NAME_SUFFIX`
5285
- Logs on empty (default) variables: [`DRAFT_RELEASE`, `PRE_RELEASE`, `ALLOW_EMPTY_CHANGELOG`, `RELEASE_NAME`, `RELEASE_NAME_PREFIX`, `RELEASE_NAME_SUFFIX`, `CHANGELOG_FILE`]
5386

5487
### Fixed
88+
5589
- Version extraction
5690
- Custom prefix matching
5791
- Theoretically possible incomplete assets upload
5892
- Nil pointer reference on empty release
5993

6094
## [3.5.0] - 2021-05-01
95+
6196
### Changed
97+
6298
- Update Dependencies
6399
- Build project on GitHub Actions
64100

65101
### Added
102+
66103
- [Issue #44](https://github.com/anton-yurchenko/git-release/issues/44) - Support ARM64 by building a multi-arch docker image (*Thanks to [rsliotta](https://github.com/rsliotta)*)
67104

68105
## [3.4.4] - 2021-03-13
106+
69107
### Changed
108+
70109
- Update Dependencies
71110

72111
### Deprecated
112+
73113
- `RELEASE_NAME_POSTFIX` will be changed to `RELEASE_NAME_SUFFIX` in the next release
74114

75115
## [3.4.3] - 2021-01-02
116+
76117
### Fixed
118+
77119
- [PR #38](https://github.com/anton-yurchenko/git-release/pull/38) - Version prefix greedy quantifier caused incorrect parsing of major version higher then `9`. (*Thanks to [rgriebl](https://github.com/rgriebl)*)
78120

79121
### Changed
122+
80123
- Update Dependencies
81124

82125
## [3.4.2] - 2020-10-25
126+
83127
### Changed
128+
84129
- Update Dependencies
85130
- Make `version` output more specific
86131

87132
## [3.4.1] - 2020-08-31
133+
88134
### Changed
135+
89136
- Update Dependencies
90137

91138
## [3.4.0] - 2020-07-10
139+
92140
### Added
141+
93142
- Glob pattern support
94143
- Unit Tests
95144
- Log version
96145

97146
### Fixed
147+
98148
- Exception on margins larger than context of changelog
99149
- Nil pointer exception in 'release' package
100150

101151
### Changed
152+
102153
- Refactor JavaScript wrapper
103154

104155
## [3.3.0] - 2020-06-27
156+
105157
### Added
158+
106159
- Wrapper script: allow execution on Windows runners
107160

108161
### Changed
162+
109163
- Action execution through Git: from Docker to NodeJS
110164

111165
## [3.2.0] - 2020-06-04
166+
112167
### Fixed
168+
113169
- Ignored `ALLOW_EMPTY_CHANGELOG=true` failed to create a release
114170

115171
### Added
172+
116173
- `CHANGELOG_FILE=none` will skip changelog file validation. This allows to create a release from empty workspace
117174

118175
### Changed
176+
119177
- Upgrade GoLang to 1.14.4
120178
- Upgrade dependencies
121179

122180
## [3.1.2] - 2020-04-10
181+
123182
### Fixed
183+
124184
- [Issue #16](https://github.com/anton-yurchenko/git-release/issues/16) - Error parsing tags with slashes. (*Thanks to [Jonathan Hilgart](https://github.com/jonhilgart22)*)
125185
- Support `.` in organization and repository names
126186

127187
## [3.1.1] - 2020-03-25
188+
128189
### Fixed
190+
129191
- [Issue #14](https://github.com/anton-yurchenko/git-release/issues/14) - Ignored first release link in a comment. (*Thanks to [Luiz Ferraz](https://github.com/Fryuni)*)
130192

131193
### Changed
194+
132195
- Upgrade GoLang to 1.14.1
133196
- Upgrade dependencies
134197

135198
## [3.1.0] - 2020-02-17
199+
136200
### Added
201+
137202
- [Issue #10](https://github.com/anton-yurchenko/git-release/issues/10) - Release Title manipulation through `RELEASE_NAME`, `RELEASE_NAME_PREFIX`, `RELEASE_NAME_POSTFIX`. (*Thanks to [Victor](https://github.com/victoraugustolls) for suggesting a change*)
138203

139204
## [3.0.1] - 2020-01-08
205+
140206
### Fixed
207+
141208
- Empty release name
142209

143210
## [3.0.0] - 2020-01-05
211+
144212
This is a major release because of a certain behavior change:
213+
145214
- *Tag (without prefix) should be identical to Changelog Version in order for changes to be mapped (for example tag `v3.0.0-rc.1` is expected to be listed as `3.0.0-rc.1` in changelog).*
146215
- *By default valid semver version is expected. Prefix should be explicitly allowed by enabling `ALLOW_TAG_PREFIX`*
147216

148217
### Changed
218+
149219
- Better `GITHUB_REPOSITORY` regex validation
150220
- Improved **Changelog** package parsing capabilities
151221
- Tag should match Changelog Version (excluding prefix)
152222

153223
### Fixed
224+
154225
- Semantic Versioning compliance
155226
- Keep a Changelog compliance
156227

157228
### Added
229+
158230
- `ALLOW_TAG_PREFIX` to control version prefix like `v` or `release`
159231

160232
## [2.0.2] - 2019-12-29
233+
161234
### Added
235+
162236
- CircleCI integrated as a Continuous Integration system
163237
- GolangCI integrated as a Continuous Code Quality system
164238
- CodeCov integrated as a Continuous Code Quality system
165239

166240
### Changed
241+
167242
- DockerHub setup as a Continuous Delivery system
168243

169244
## [2.0.1] - 2019-12-28
245+
170246
### Changed
247+
171248
- Disable unit testing on Docker Hub auto builds
172249

173250
## [2.0.0] - 2019-12-28
251+
174252
This is a major release as most of the code was refactored and some behavior was changed, for example "Tag version is set as a release title"
175253

176254
### Fixed
255+
177256
- Artifact files not found caused panic - all files now being validated before release creation
178257
- Custom changelog file now being validated before release creation
179258
- Arguments parsing fixed
180259

181260
### Added
261+
182262
- Unit testing
183263
- Docker image now built from scratch, resulting in decreased size 139.73MB -> 2.43MB, improving action overall speed
184264
- **app** package
185265
- `ALLOW_EMPTY_CHANGELOG` env.var to allow publishing a release without changelog (default **false**)
186266
- Artifacts (provided as arguments) can now be separated by one of: `new line '\n', pipe '|', space ' ', comma ','`
187267

188268
### Changed
269+
189270
- **local** package renamed to **repository**
190271
- **remote** package splitted into 2 packages: **asset**, **release**
191272
- Tag version is set as a release title
192273

193274
## [1.1.0] - 2019-12-21
275+
194276
### Added
277+
195278
- [PR #3](https://github.com/anton-yurchenko/git-release/pull/3) - Allow any prefix to semver tag. (*Thanks to [Taylor Becker](https://github.com/tajobe) for the PR*)
196279

197280
### Fixed
281+
198282
- [PR #3](https://github.com/anton-yurchenko/git-release/pull/3) - PreRelease overwriting Draft configuration. (*Thanks to [Taylor Becker](https://github.com/tajobe) for reporting an issue*)
199283

200284
## [1.0.0] - 2019-10-01
285+
201286
- First stable release
202287

203288
## [0.2.1] - 2019-10-01
289+
204290
### Fixed
291+
205292
- Wrong PRE_RELEASE message when set
206293
- Correct 'creating release' log message
207294

208295
## [0.2.0] - 2019-10-01
296+
209297
### Added
298+
210299
- Changelog reader
211300
- MIT License
212301

213302
### Changed
303+
214304
- Remove 'v' from release name
215305

216306
### Fixed
307+
217308
- Create release without assets
218309

219310
## [0.1.1] - 2019-09-29
311+
220312
### Added
313+
221314
- Tag regex to match v1.0.0 and 1.0.0
222315
- Log when procedure finished
223316

224317
### Removed
318+
225319
- 'DRAFT_RELEASE=false' warning logging
226320
- 'PRE_RELEASE=false' warning logging
227321

228322
## [0.1.0] - 2019-09-29
323+
229324
### Added
325+
230326
- Create GitHub Release
231327
- Upload Assets
232328
- Control Release Draft through env.var 'DRAFT_RELEASE'
233329
- Control Release Pre Release through env.var 'PRE_RELEASE'
234330

331+
[4.2.2]: https://github.com/anton-yurchenko/git-release/compare/v4.2.1...v4.2.2
235332
[4.2.1]: https://github.com/anton-yurchenko/git-release/compare/v4.2.0...v4.2.1
236333
[4.2.0]: https://github.com/anton-yurchenko/git-release/compare/v4.1.2...v4.2.0
237334
[4.1.2]: https://github.com/anton-yurchenko/git-release/compare/v4.1.1...v4.1.2

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o /opt/app
77

88
FROM scratch
99
LABEL org.opencontainers.image.source="https://github.com/anton-yurchenko/git-release"
10-
LABEL org.opencontainers.image.version="v4.2.0"
10+
LABEL org.opencontainers.image.version="v4.2.2"
1111
LABEL org.opencontainers.image.authors="Anton Yurchenko <[email protected]>"
1212
LABEL org.opencontainers.image.licenses="MIT"
1313
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/

bin/git-release-linux-amd64

16 KB
Binary file not shown.

bin/git-release-windows-amd64.exe

67 KB
Binary file not shown.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/google/go-github v17.0.0+incompatible
88
github.com/pkg/errors v0.9.1
99
github.com/sirupsen/logrus v1.8.1
10-
github.com/spf13/afero v1.8.0
10+
github.com/spf13/afero v1.8.1
1111
github.com/stretchr/testify v1.7.0
1212
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
1313
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR
145145
github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE=
146146
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
147147
github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I=
148-
github.com/spf13/afero v1.8.0 h1:5MmtuhAgYeU6qpa7w7bP0dv6MBYuup0vekhSpSkoq60=
149-
github.com/spf13/afero v1.8.0/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo=
148+
github.com/spf13/afero v1.8.1 h1:izYHOT71f9iZ7iq37Uqjael60/vYC6vMtzedudZ0zEk=
149+
github.com/spf13/afero v1.8.1/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo=
150150
github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=
151151
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
152152
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
// Version contains current application version
17-
const Version string = "4.2.1"
17+
const Version string = "4.2.2"
1818

1919
func init() {
2020
log.SetReportCaller(false)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "git-release",
3-
"version": "4.2.1",
3+
"version": "4.2.2",
44
"description": "A GitHub Action for creating a GitHub Release with Assets and Changelog whenever a new Tag is pushed to the repository.",
55
"main": "wrapper.js",
66
"directories": {

0 commit comments

Comments
 (0)