1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
Commit Graph

515 Commits

Author SHA1 Message Date
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
Carlos Alexandro Becker
ef19f1610b
fix: windows filenames (#1539)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-21 22:08:54 -03:00
Carlos Alexandro Becker
be1d4d629f
fix: blob: filepath on url (#1521)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-17 13:48:33 -03:00
Radek Simko
983f342ab8
feat: Add build command (#1520)
* 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>
2020-05-15 11:19:20 -03:00
Carlos Alexandro Becker
0cd40a42da
fix: improve docker logs and errors (#1519)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-14 14:28:53 -03:00
Radek Simko
8749030d3b
feat: Add support for custom publishers (#1481)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-05-10 16:03:49 +00:00
Carlos Alexandro Becker
31fedc4e67
feat: allow to template sign.args (#1493)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 12:50:35 -03:00
Carlos Alexandro Becker
0ebd326f71
fix: log message
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-04 10:05:17 -03:00
Radek Simko
6f8db25ec6
fix(pipe/brew): Default to GitHub (#1483) 2020-05-03 14:22:25 -03:00
Carlos Alexandro Becker
39a7dc2ad1
fix: blob data race (#1480)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-29 22:35:48 -03:00
Zach Leslie
0f7ff6247b
feat(scoop): provide config option to change commit message (#1467)
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.
2020-04-29 17:45:18 -03:00
Carlos Alexandro Becker
15fd80eded
feat: improve skip-publish behavior (#1474)
* Revert "feat: split brew tap in 2 steps (#1425)"

This reverts commit 5e8882fbb6.

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

* fix: brew generation

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

* feat: improve bucket write

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

* fix: tests

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

* fix: tests

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

* fix: minio test

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

* fix: lint issues

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

* fix: lint issues

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

* fix: err handling

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-29 15:09:00 -03:00
Carlos Alexandro Becker
705ab90e4f
fix: builds.binary template (#1476)
* fix: builds.binary template

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

* fix: revert

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-29 15:08:06 -03:00
Carlos Alexandro Becker
eedfc6525d
chore: add debug log to scoop
copied from #1464

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-27 21:51:05 -03:00
Carlos Alexandro Becker
75c373bdf2
fix: docker logs
refs #1462

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-21 19:08:27 -03:00
Carlos Alexandro Becker
a39329f1b3
chore(deps): bump github.com/xanzy/go-gitlab from 0.29.0 to 0.31.0 (#1459)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-04-21 19:24:28 +00:00
Carlos Alexandro Becker
fc1ef8a2a2
fix: scoop wrap_in_directory (#1458)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-21 16:11:18 -03:00
Carlos Alexandro Becker
2f16c4c653
feat: remove deprecated nfpm options and puts (#1442)
also updated docs

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-19 19:54:07 -03:00
Aggelos Kolaitis
20e3718a56
fix: snap package apps with multiple binaries (#1449) 2020-04-17 17:24:32 +00:00
Lee Briggs
daa4501568
fix: correct the spelling of "snapshotting" (#1450)
Small and relatively insignificant change, but the correct spelling is
with two "t's"

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-04-17 14:08:34 +00:00
Carlos Alexandro Becker
a5f0343368
feat: improve check command (#1435)
* 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>
2020-04-12 14:31:35 -03:00
Carlos Alexandro Becker
34c8fd4724
fix: better shellwords on hooks (#1437)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-12 14:12:53 -03:00
Radek Simko
8032d12052
feat(pipe/build): Add support for flexible build hooks (#1414) 2020-04-12 12:13:20 -03:00
Carlos Alexandro Becker
7fe4d0ae79
feat: upload source archive (#1379)
* feat: upload source archive

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

* fix: lint

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-12 11:47:46 -03:00
Radek Simko
5027d4bdfe
test: Allow tests to run in parallel without failing (#1429)
All tests share the same environment (hence variable namespace too)
and setting & reading the same variables has lead to race conditions
which are being fixed by using different variables in each test.

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-04-12 11:16:05 -03:00
Radek Simko
cfa0cc2d2a
feat(pipe/build): Report hook error in addition to stdout (#1430)
This helps in situations where hook couldn't run at all,
e.g. because of insufficient permissions.

Previously such failure would only be reported as
empty stdout/stderr output - this allows exposure
of the real root cause.
2020-04-12 10:44:12 -03:00
Carlos Alexandro Becker
e580a18382
fix: brew no token (#1434)
* fix: remove useless log

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

* fix: brew no token

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

* fix: add a warn

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-12 10:43:33 -03:00
Carlos Alexandro Becker
5e8882fbb6
feat: split brew tap in 2 steps (#1425)
* feat: split brew tap in 2 steps

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

* refactor: improve env

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

* fix: loop

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-09 13:28:58 +00:00
matthiasng
dec22cf0c8
fix: scoop binary names (#1420) 2020-04-02 21:59:01 +00:00
Leonardo Grasso
1cf9100ecc
feat: build.skip option, support for library projects (#1419)
* 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>
2020-04-02 13:18:05 +00:00