1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00
Commit Graph

544 Commits

Author SHA1 Message Date
6543
1bb832a764
chore(deps): bump code.gitea.io/sdk/gitea from v0.12.1 to v0.13.1 (#1828)
* chore(deps): bump code.gitea.io/sdk/gitea from v0.12.1 to v0.13.1

* only set Context if not nil
2020-10-02 02:06:21 +00:00
Carlos Alexandro Becker
65ffbf1921
refactor: replace pkg/errors.Wrap with fmt.Errorf (#1812)
* refactor: remove pkg/errors

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* refactor: remove pkg/errors

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-09-21 17:47:51 +00:00
Carlos Alexandro Becker
c28dab5b1d Revert "chore(deps): bump code.gitea.io/sdk/gitea from v0.12.1 to v0.13.0 (#1806)"
This reverts commit 96dd7c1990.
2020-09-21 14:23:33 -03:00
6543
96dd7c1990
chore(deps): bump code.gitea.io/sdk/gitea from v0.12.1 to v0.13.0 (#1806)
* gitea sdk v0.12.1 -> 0.13.0

* migrate

* adapt

* add version responce

* check err
2020-09-21 10:14:16 -03:00
Carlos Alexandro Becker
ac74de29de
chore(deps): update nfpm (#1813)
* chore(deps): update nfpm

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: lint

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-21 10:13:03 -03:00
Carlos Alexandro Becker
2eb6ec200f
feat(brew): post_install (#1790)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

Co-authored-by: Grachev Mikhail <work@mgrachev.com>
2020-09-18 10:42:52 -03:00
nervo
f3f8b71373
fix: typo on warning log
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")
2020-09-16 15:43:37 -03:00
Carlos Alexandro Becker
01942ae60d
refactor: use git tag --points-at (#1796)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-08 10:11:59 -03:00
Carlos Alexandro Becker
28230b67f8
fix: do not default goos/goarch/goarm if targets is provided (#1789)
* 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>
2020-09-06 11:39:52 -03:00
Carlos Alexandro Becker
88db1d0bcb
refactor(artifactory): we don't do anything with the response json (#1753)
* 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>
2020-09-06 11:03:17 -03:00
Andy Bursavich
3f85797df0
fix: typo in artifact checksum error message (#1785)
Signed-off-by: Andy Bursavich <abursavich@gmail.com>
2020-09-02 16:44:25 -03:00
Andy Bursavich
005b67dbed
fix: artifact string method switch statement (#1786)
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>
2020-09-02 16:44:02 -03:00
Chris Salch
cc3567cde9
feat: Add gobinary option to build configs (#1775)
* Possible implementation of #1235.

Adds the go_binary config option and defualts it to "go".

* Correct docs.
2020-08-30 10:15:33 -03:00
Chris Salch
4f7d127859
fix: make minio based tests run locally again (#1776) 2020-08-30 10:13:12 -03:00
Carlos Alexandro Becker
e014ad0ae8
feat: allow to create apk packages (#1768)
* 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>
2020-08-22 19:00:14 -03:00
Carlos Alexandro Becker
fa5b41332a
feat: allow to disable checksum pipe (#1760)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-08-16 11:58:59 -03:00
Carlos Alexandro Becker
acfd0024fa
fix(brew) create file if skip is set (#1757)
* 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>
2020-08-16 11:29:56 -03:00
Carlos Alexandro Becker
da22bf8eb8
feat: use go 1.15 (#1759)
* 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>
2020-08-16 11:29:44 -03:00
Carlos Alexandro Becker
3d48782917
fix: brew name template (#1756)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-08-15 17:16:48 -03:00
Carlos Alexandro Becker
6eae126445
feat: log build hooks (#1752)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-08-15 14:18:31 -03:00
Carlos Alexandro Becker
5d8b6f046a
fix: ignore git warnings (#1740)
* 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>
2020-08-14 10:12:55 -03:00
dependabot[bot]
04f8656430
chore(deps): bump github.com/golangci/golangci-lint from 1.29.0 to 1.30.0 (#1718)
* chore(deps): bump github.com/golangci/golangci-lint

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.29.0 to 1.30.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.29.0...v1.30.0)

Signed-off-by: dependabot[bot] <support@github.com>

* fix: lint issues

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-08-04 03:21:26 +00:00
Carlos Alexandro Becker
35057eac33 chore: move log to debug
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-08-04 00:01:07 -03:00
Ryan Currah
05f07a4d9a
feat(pipeline): change the pipeline order to support additional template variables in the before pipe (#1711)
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>
2020-07-29 23:29:31 -03:00
Masahiro Furudate
42dab4917b
fix: Fix indent of yaml generated by init (#1706)
* Fix indent of yaml generated by init

* Add `static/config_test.go`
2020-07-25 18:57:16 -03:00
Till!
841eab183c
feat: make goos and goarch available in hooks (#1702) 2020-07-23 18:46:43 +00:00
Carlos Alexandro Becker
47e88b9bcf
fix: better handle before hooks errors (#1698)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-22 09:14:56 -03:00
Carlos Alexandro Becker
10a237364b
fix: avoid copying the completer multiple times (#1680)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-20 10:36:09 -03:00
Carlos Alexandro Becker
9c9f1c5815 fix: init should have windows too
otherwise it doesnt match what our quick start guide says

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-20 10:34:33 -03:00
Aggelos Kolaitis
a69b525ddb
fix: Completer script link errors for snapcraft (#1679) 2020-07-17 16:11:08 -03:00
Brian Flad
01fd3e8c7b
feat: support closing milestones (#1657)
* 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>
2020-07-09 21:40:37 +01:00
6543
342f842880
chore(deps): bump code.gitea.io/sdk/gitea from v0.12.0 to v0.12.1 (#1658) 2020-07-09 13:16:46 -03:00
dependabot[bot]
777b70a13f
chore(deps): bump github.com/golangci/golangci-lint from 1.27.0 to 1.28.0 (#1648)
* chore(deps): bump github.com/golangci/golangci-lint

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.27.0...v1.28.0)

Signed-off-by: dependabot[bot] <support@github.com>

* fix: lint issues

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Radek Simko <radek.simko@gmail.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-06 17:30:00 -03:00
Radek Simko
ab8bb7f2f3
feat: support custom tokens in Homebrew & Scoop (#1650) 2020-07-06 17:12:41 -03:00
Paul Tyng
0d4f605388
feat: deterministic / reproducible build support (#1641)
* 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
2020-07-06 17:09:22 -03:00
Radek Simko
998e377627
refactor: align Homebrew repo handling with Scoop (#1649) 2020-07-06 10:48:17 -03:00
Adam Bouqdib
10c9d39d6e
fix: use correct filename for GCS downloads (#1625) 2020-06-24 14:19:20 -03:00
reddec
adbe42b198
feat: add nfpm meta mackages (#1620)
* 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>
2020-06-19 11:04:10 -03:00
Carlos Alexandro Becker
f739c81797
fix: removed unused code (#1605)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-06-12 21:24:54 -03:00
Aggelos Kolaitis
0c0063a5b4
feat: Support custom command and extra files in snaps (#1553) 2020-06-06 15:07:18 -03:00
Weslei Juan Moser Pereira
da78747875
feat: Add support for templated release notes, header and footer (#1575)
* Added support to header and footer template

* Add template for release notes
2020-05-31 13:18:48 +01:00
Eduardo Lopez
6645c58114
fix: Brew versioned formulae now supported (#1568) 2020-05-26 14:50:39 +00:00
Carlos Alexandro Becker
5f41640978
chore(deps): bump github.com/goreleaser/nfpm from 1.2.1 to 1.3.0 (#1565)
* 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>
2020-05-26 01:15:20 -03:00
Carlos Alexandro Becker
69c8a502db
chore(deps): bump github.com/golangci/golangci-lint from 1.23.7 to 1.27.0 (#1563)
* 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>
2020-05-26 00:48:10 -03:00
Carlos Alexandro Becker
501f092811
chore: go doc for extrafiles.Find
refs #1535

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-25 15:18:24 -03:00
Weslei Juan Moser Pereira
c805451de0
feat: Added extra files to blob (#1535)
* 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
2020-05-25 15:07:40 -03:00
Grachev Mikhail
207ee49853
feat: add support brew dependency types (#1554)
Signed-off-by: Mikhail Grachev <work@mgrachev.com>
2020-05-24 12:10:25 -03:00
Radek Simko
363aa74dcb
feat: Expose semver for snapshots (#1557) 2020-05-24 15:05:49 +00:00
Yoan Blanc
a48ddc3828
feat: allow signing only the source (#1552)
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-05-23 17:39:59 +00:00
6543
b2b418c6a7
chore(deps): bump code.gitea.io/sdk/gitea from v0.11.3 to v0.12.0 (#1546)
* migrate

* gitea sdk v0.11.3 -> 0.12.0

* CI.restart()
2020-05-22 10:21:43 -03:00