* chore(deps): update nfpm
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: lint
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
The warning `optimistically guessing `brew[%d].installs`, double check` made me thinks of a hidden `installs` option (note the final "s"). Thanks god, it's just a typo, the existing and documented option is `install` (without the "s")
* fix: do not default goos/goarch/goarm if targets is provided
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* test: fixed
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: ignore EOF on artifactory
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: dont even need to read that
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: remove artifactoryResponse
* refactor: remove artifactoryChecksums
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
Existing implementation seemed to rely on implicit case fallthrough, which doesn't exist in Go. Moving default return to default case helps catch this error in the future, as it will cause a "missing return" compile error.
Signed-off-by: Andy Bursavich <abursavich@gmail.com>
* feat: upgrade nfpm
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* feat: allow to create apk packages
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* test: multiple brews with skip upload
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix(brew) create file if skip is set
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* refactor: improve code a bit
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: duplicated errors
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* Update to Go 1.15 image (#1758)
* feat: use go 1.15
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: remove darwin_386
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
Co-authored-by: Simon Jürgensmeyer <sj14@users.noreply.github.com>
* fix: ignore git warnings
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* test: added test case
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: failing test
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: logs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: lint issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This change allows us to use all the template variables in the named templates in the before hook.
Issue: GH-1710
Co-authored-by: Ryan Currah <ryan.currah@crowdstrike.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/goreleaser/nfpm from 1.2.1 to 1.3.0
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: test
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.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