1
0
mirror of https://github.com/helm/chart-releaser.git synced 2026-02-05 18:45:29 +01:00

20 Commits

Author SHA1 Message Date
Carlos Tadeu Panato Junior
0102fa30dd Update dependencies and other things (#345)
* bump golangci-lint to 1.55.x

Signed-off-by: cpanato <ctadeu@gmail.com>

* update deprecated fields for goreleaser

Signed-off-by: cpanato <ctadeu@gmail.com>

* bump dependencies

Signed-off-by: cpanato <ctadeu@gmail.com>

---------

Signed-off-by: cpanato <ctadeu@gmail.com>
2023-10-31 08:21:13 +01:00
Carlos Tadeu Panato Junior
9320c4f3ac Updates (#307)
* bump golangci-lint to v1.53.x

Signed-off-by: cpanato <ctadeu@gmail.com>

* bump alpine base image to 3.18

Signed-off-by: cpanato <ctadeu@gmail.com>

* update deprecated goreleaser flags

Signed-off-by: cpanato <ctadeu@gmail.com>

* remove action for cache, the setup-go already do that

Signed-off-by: cpanato <ctadeu@gmail.com>

* fix lints

Signed-off-by: cpanato <ctadeu@gmail.com>

---------

Signed-off-by: cpanato <ctadeu@gmail.com>
2023-06-27 11:05:11 +02:00
Philipp Trulson
ee26f50ce9 Add option to not mark GitHub release as latest (#237)
Signed-off-by: Philipp Trulson <philipp@trulson.de>

Signed-off-by: Philipp Trulson <philipp@trulson.de>
2023-01-05 23:14:24 +01:00
Buk Bukowski
3719ff64be accept generate_release_notes in github api upload to automatically generate changelog (#229)
Signed-off-by: Buk Bukowski <gitbukowa@gmail.com>

Signed-off-by: Buk Bukowski <gitbukowa@gmail.com>
Signed-off-by: Buk Bukowski <38087302+bukowa@users.noreply.github.com>
2023-01-04 17:54:43 +01:00
Carlos Tadeu Panato Junior
19566448c0 update go-github dependency to v49 (#239)
Signed-off-by: cpanato <ctadeu@gmail.com>

Signed-off-by: cpanato <ctadeu@gmail.com>
2023-01-04 15:43:24 +01:00
Carlos Tadeu Panato Junior
1e658d66ff remove go install tools and replace to use in the gh action and update base image (#191)
* remove some go install tools and replace to use in the gh action

Signed-off-by: cpanato <ctadeu@gmail.com>

* update base image to alpine:3.16

Signed-off-by: cpanato <ctadeu@gmail.com>

* add dedicate golangci-lint job

Signed-off-by: cpanato <ctadeu@gmail.com>

* remove setup.sh and update magefile

Signed-off-by: cpanato <ctadeu@gmail.com>

* add golangci-lint config

Signed-off-by: cpanato <ctadeu@gmail.com>

* fix lints

Signed-off-by: cpanato <ctadeu@gmail.com>

* update per feedback

Signed-off-by: cpanato <ctadeu@gmail.com>

* add cache

Signed-off-by: cpanato <ctadeu@gmail.com>
2022-06-21 10:35:27 +02:00
Carlos Tadeu Panato Junior
e08d086a65 update dependencies, upgrade to go 1.16.x and update goreleaser (#129)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-08-08 15:28:37 +02:00
Andreas Fritzler
861715c81f Open release file in retry loop (#110) 2021-03-15 16:53:37 +01:00
Reinhard Nägele
1614dc5bb1 Update dependencies (#105)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2021-02-17 22:35:07 +01:00
Reinhard Nägele
99aa2563e8 Retry if a release is not yet available (#87) 2021-02-17 21:10:15 +01:00
Reinhard Nägele
7659cc2085 Migrate to GitHub Actions (#75)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2020-09-01 18:56:02 +02:00
Reinhard Nägele
23a2674502 Add option to push to gh-pages (#73)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2020-08-27 08:12:24 +02:00
Travis Groth
41c62a4662 Permit specifying the target commit of a release (#45) 2020-05-22 15:03:39 +02:00
Reinhard Nägele
f56ad7a52a Update Go version, dependencies, and GoReleaser (#59)
Signed-off-by: Reinhard Naegele <unguiculus@gmail.com>
2020-03-21 21:33:37 +01:00
Tam Mach
16efaea1a7 Added BaseURL and UploadURL for GitHub Enterprise (#43)
Signed-off-by: sayboras <sayboras@yahoo.com>
2020-01-31 21:06:08 +01:00
Reinhard Nägele
ad61bb2f61 Refactoring (#27)
This refactors the code to improve testability and so that it can be better integrated into an upcoming GitHub app.

- [x] Rename the binary to `cr` (similar to `ct` for chart-testing) and update package structure along with that
- [x] Fix incorrect license headers
- [x] Change default config file locations (analogous to chart-testing)
- [x] Refactor index and release creation and introduce new Releaser struct
- [x] Simplify error handling. In particul, I think we should not try and parse GitHub specific error codes. This doesn't gain us anything. The best we can do is log errors and exit
- [x] No longer check if a release already exists. Just try and create it which will fail if the release exists. So, the result is basically the same with less code
- [x] No longer download chart packages for index creation. This is unnecessary and does not scale
- [x] Remove `Chart.yaml` from releasse assets. Its unnecessary and make things more complicated
- [x] Encapsulate GitHub API within package without exposing it
- [x] Expect all charts to be released in a specific directory removing the recursive option
- [x] Add unit tests

Fixes: #18
2019-04-16 19:29:01 +02:00
Scott Rigby
daa4814060 Fix licenses, and standardize on 'Copyright The Helm Authors' (#15)
Signed-off-by: Scott Rigby <scott@r6by.com>
2019-02-11 06:51:54 +01:00
Reinhard Nägele
cdc2a4a526 Add chart name as metadata to release version
Also extract funtion to avoid defer in loop

Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
2019-02-07 15:34:27 -05:00
Paul Czarkowski
c7451461ba fix errors on new releases
Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
2019-02-07 15:30:46 -05:00
Paul Czarkowski
14e612c2f6 first commit
Signed-off-by: Paul Czarkowski <username.taken@gmail.com>
2019-02-07 15:29:58 -05:00