using the same output as most cloud-native Go-written CLI's use, i.e.
using
[sigs.k8s.io/release-utils](https://github.com/kubernetes-sigs/release-utils).
---------
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: revert
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: refactor cli
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: lint
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: move
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: improve check command
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: main test
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: tests, finally
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: lint
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: upgrade to go 1.14
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: test
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: test
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* Added new flags to support release notes header and footer.
Created two flags for release generation.
--release-footer
--release-header
These flags can help you to add custom changelog text before/after changes that are generated by git log.
* Fix changelog.go to avoid lint errors
* Fix test typo
* Added tests for main, fixed bug with no passing options to release ctx
* Add @caarlos0 suggestions
* feat: go 1.13
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: go.mod
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: update to go 1.13
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* bump: deps
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: deps
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: trying replace
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: go mod init
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: disable funlen lint
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: add goreleaser check
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* docs: added to deprecations.md
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* docs: added to bug.md
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* test: added tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* outlines gitlab client integration
* makes client parameter more explicit
* adds gitlab url to config
* changes releaseID to string to adapt to gitlab
* updates to latest gitlab client lib 0.18
* fixes copy paster in gitlab upload func
* fixes gitlab typo in config
* adds gitlab token to env and context
* release now uses the client factory method
* skips brew pipe if it is not a github release
* add github tokentype to publish tests
* skips scoop pipe if it is not a github release
* corrects brew skip msg
* adds gitlab token to main test
* adds gitlab to release docs
* validates config and errors accordingly
* adapt release pipe name to include gitlab
* fixes gitlab client after testing
* moves not-configured brew and scoop pipe checks as first check
* adds more debug to gitlab client
* adapts changelog generation for gitlab markdown
* adds debug log for gitlab changelog
* env needs to run before changelog pipe
* moves gitlab default download url to default pipe
* moves multiple releases check to from config to release pipe
* release differs now for github and gitlab
* adds debug gitlab release update msgs
* moves env pipe as second after before because it determines the token type other pipes depend on
* adaptes error check on gitlab release creation
* Revert "adaptes error check on gitlab release creation"
This reverts commit 032024571c.
* simplifies gitlab client logic. removes comments
* skips tls verification for gitlab client if specified in config
* updates the docs
* adds clarification that brew and scoop are not supported if it is a gitlab release
* fixes copy paster in release.md
* adds missing blob pipe in defaults and publish due to missing in merge
* updates comment in gitlab client
* refactor: merging archive in the same repo
* refactor: merging archive in the same repo
* refactor: better organizing packages
* refactor: fixing renames
* fix: new dep version
* fix: makefile
* fix: zip/tar tests
* fix: gitigonore
* fix: s3 tests
* fix: archive test
* refactor: removed goreleaserlib: moved all to main
* refactor: wip: snapshot
* fix: more pipes
* fix: more pipes
* fix: git tests
* fix: some other validate and publish usages
* fix: git dirty check when snapshoting
* fix: nfpm: use tag instead of version
* test: docker: print docker run output if registry fails