* feat: multi-arch docker images
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: split files
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* docs: manifest
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* refactor: split files
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* test: added some
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* docs: flags
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: fmt
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: diff
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* ci: enable experimental
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* ci: multi-arch goreleaser images
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* implement for brew and scoop support for Gitea-hosted repos
* fix test
* add ReleaseURLTemplate support for gitea
* Add TestGiteaReleaseURLTemplate
* fix api to download url conversion
* switch test gitea instance to gitea.com
* fix defaults
* add test for defaults.go (GiteaURLs)
* add option into docs
Add a `.Branch` field to the text templates populated by the current git
branch.
Signed-off-by: Ben Kochie <superq@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* feat: nfpm rpm.summary and nfpm.ghost_files
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: fmt
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: Add deb packager-specific nfpm config (#1829)
* Use env vars containing nfpm ids for deb pgp passphrase
* Add docs for nfpm id in env var
* Custon -> Custom
* Switch test cases
* Forward RPM specific config to nfpm
* Document rpm-specific nfpm config
* Add APK-specific nfpm config
* Document apk-specific nfpm config
* avaiable -> available
* Add deb scripts templates to nfpm config
* feat: validate goos, goarch, goarm and gomips
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: lint
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* feat: snap restart-condition
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* docs: restart-condition
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* refactor: use require on all tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* refactor: use require on all tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* chore(deps): update nfpm
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: lint
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: support closing milestones
Reference: https://github.com/goreleaser/goreleaser/issues/1415
* refactor: Adjust milestone handling for code simplification, add ErrNoMilestoneFound, and fix milestone documentation close default
Reference: https://github.com/goreleaser/goreleaser/pull/1657#pullrequestreview-445025743
* refactor: Use single repo config in milestones instead of each VCS
* fix: Ensure milestone Pipe is included in Defaulters
* feat: Add fail_on_error configuration to milestone configuration
Co-authored-by: Radek Simko <radek.simko@gmail.com>
* Make checksum ordering consistent
* Use consistent time for build date
* Add commit date to templates
* Add config option for build mod timestamp
* Make goreleaser builds reproducible
* Fix error in wording
* Update www/docs/customization/build.md
* add nfpm meta flag - ignore binaries
* docs: update nfpm.md
* Update www/docs/customization/nfpm.md
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
* chore(deps): bump github.com/golangci/golangci-lint from 1.23.7 to 1.27.0
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* Reordered indexes in docs
* Fix customization order
* Implemented extra files
* Added tests for extra files
* Added docs
* Fix test with defaults
* Removed path and folder from extra_files
* Fix scope lint
* Removed dead code
* Removed dead code
* Added test for common package
* Fix linting
* Removed false positive from golangci
* Requested changes
* feat: Add build command
* feat(cmd/build): Add skip-post-hooks flag
* Update internal/pipeline/pipeline.go
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Without this change, users unable to control the resulting commit message of the
scoop update. In some environments this may present an issue with commit
linters that require a specific commit message format in order to build proper
change logs and make decisions. Here we include a Scoop config option to use a
format string provided by the user during the commit.
* feat: xz compression
* remove .xz feature
* fix: format code with gofmt
* use larger dict for better compression
* Update pkg/archive/tarxz/tarxz.go
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.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: upload source archive
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: lint
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: checksum pipe will not return an error when artifact list is empty
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
* new: build.skip option for libraries
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
* docs: update doc with build.skip option
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
* feat: use maximum compression for gzip and zip archives
* fix: add comment for skipping error check
Co-authored-by: John Taylor <ec2-user@ip-172-31-29-117.ap-south-1.compute.internal>
* feat: remove deprecated blob and sign
you should now use blobs and signs instead.
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: upload extra files to the release
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: retry upload
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: globs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: globs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit exposes the Artifact name as a template variable so that the
artifact name can be moved around within the `targetURL`. This enable users to
manipulate the target URL as desired in order to pass in PUT parameters that
doesn't always following the currently defined `targetURL` which append the
artifact name to the end.
This is needed to address[1] by enable the ability to add metadata to
Artifactory REST API [2] as the URL parameters, which need to be after the
artifact names.
It's important that this is backward compatible with existing release
configurations so this is an opt-in option, if it's omitted or not set, no
changes to exist configurations. When enabled with `CustomArtifactName=True` as
part of HTTP Upload options `Artifact.Name` will no longer be appended to the
end of TargetURL.
[1]:https://github.com/goreleaser/goreleaser/issues/1336
[2]:https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-Example-DeployinganArtifact
* feat(sign): id, concurrent map
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: more tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: comments
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: remove deprecated brew config
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: wording
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: wording
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: defaults
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: defaults
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: defaults
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: support to gomips
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: prefix
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: remove deprecated s3 pipe
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>