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

2628 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
4a6693fb72
feat: replace zglob with fileglob (#1889)
* fix: replace zglob with gobwas/glob

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

* fix: added missing file

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

* test: fixed wrong assertions

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

* fix: use fileglob

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

* feat: update fileglob

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

* fix: update fileglob

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

* fix: tests

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

* fix: test errors

* fix: empty file

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

* fix: update fileglob

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

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-11-10 11:20:55 -03:00
dependabot[bot]
27aa6871cb
chore(deps): bump github.com/golangci/golangci-lint from 1.31.0 to 1.32.2 (#1882)
* chore(deps): bump github.com/golangci/golangci-lint

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.31.0 to 1.32.2.
- [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.31.0...v1.32.2)

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

* fix: lint issues

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

* refactor: 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>
2020-11-10 11:15:03 -03:00
Carlos Alexandro Becker
c125fe3166 refactor: simplify for
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-09 19:16:06 -03:00
Carlos Alexandro Becker
9935b87100
feat: support replaces on nfpm (#1888)
* feat: support replaces on nfpm

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

* Update www/docs/customization/nfpm.md
2020-11-06 15:17:08 -03:00
Jonathan Lloyd
17e56747cc
feat: add packager-specific nfpm config (#1849)
* 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
2020-11-05 18:47:55 -03:00
Carlos Alexandro Becker
f1049b94ef
feat: use proxy from environment (#1885)
* feat: use proxy from environment

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

* Update internal/client/github.go

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-11-05 08:16:25 +00:00
Carlos Alexandro Becker
032a105533
feat: validate goos, goarch, goarm and gomips (#1886)
* 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>
2020-11-05 07:20:14 +00:00
Carlos Alexandro Becker
fafeb9b0dc
fix: install completions with homebrew (#1877)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-04 23:12:49 -03:00
dependabot[bot]
452e97d182
chore(deps): bump actions/checkout from v2.3.3 to v2.3.4 (#1884)
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.3 to v2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.3...5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 13:41:35 -03:00
Carlos Alexandro Becker
98a28f05ef
chore(deps): update nfpm (#1883)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-03 13:15:42 -03:00
dependabot[bot]
11ee94c63f
chore(deps): bump github.com/xanzy/go-gitlab from 0.38.1 to 0.39.0 (#1874)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.38.1 to 0.39.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.38.1...v0.39.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-03 12:07:22 +00:00
dependabot[bot]
86faac47a7
chore(deps): bump github.com/fatih/color from 1.9.0 to 1.10.0 (#1881)
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.9.0...v1.10.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-03 08:49:37 -03:00
hackerman
f629ac74ed
fix: ensure uniqueness of brew's bin.install (#1876)
This patch ensures that there are no duplicate `bin.install` statements added to the homebrew formula. It resolves several upstream issues including https://github.com/ory/homebrew-kratos/issues/1 and others.

Closes https://github.com/ory/homebrew-kratos/issues/1
2020-10-28 10:35:45 -03:00
Per Abich
85f064bcfe
docs: .ArtifactPath is the absolute path (#1870) 2020-10-27 09:31:04 -03:00
Carlos Alexandro Becker
098cc4c6a6
chore(ci): dont need to tidy anymore (#1873)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-27 09:30:16 -03:00
Roman Dodin
2848add079
docs: added apk package (#1875)
added apk package to the list of the supported packages in the docs
2020-10-27 09:29:54 -03:00
dependabot[bot]
e237cfc0cc
chore(deps): bump stefanzweifel/git-auto-commit-action (#1871)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from v4.7.1 to v4.7.2.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.7.1...bbd291750d2526367d915d5197485331dc2d8dc7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 13:01:01 -03:00
Jonas Bögle
cc3590adb8
tests: fix snapcraft tests (#1862) 2020-10-24 11:01:34 -03:00
dependabot[bot]
139dcf59f9
chore(deps): bump stefanzweifel/git-auto-commit-action (#1868)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from v4.6.0 to v4.7.1.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.6.0...9b7c21583ca43320493a9acb0823afd9477c5739)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 07:38:41 -03:00
dependabot[bot]
8c5d936308
chore(deps): bump codecov/codecov-action from v1.0.13 to v1.0.14 (#1863)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.0.13 to v1.0.14.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.13...7d5dfa54903bd909319c580a00535b483d1efcf3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 09:58:53 -03:00
dependabot[bot]
037ccbe388
chore(deps): bump github.com/spf13/cobra from 1.0.0 to 1.1.1 (#1864)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.0.0 to 1.1.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.0.0...v1.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 09:58:37 -03:00
Carlos Alexandro Becker
afda24a1e9
feat: add fish completion (#1860)
refs #1858 # #1859

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-16 11:01:36 +00:00
Daniel Helfand
f1bd471526
feat: add shell autocompletion to goreleaser for bash and zsh (#1859) 2020-10-15 16:49:15 -03:00
Carlos Alexandro Becker
ff2495fbd1
feat: allow to disable archive binary count check (#1856)
closes #1855

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-13 17:57:08 -03:00
Carlos Alexandro Becker
e3a408bf1e chore(ci): parallelism
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-12 09:15:32 -03:00
dependabot[bot]
4657a61f0d
chore(deps): bump stefanzweifel/git-auto-commit-action (#1851)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from v4.5.1 to v4.6.0.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.5.1...5c9bfe7477fd67ca1ffc9fed4a69fb7a6a46dcfe)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 09:03:40 -03:00
Carlos Alexandro Becker
229c8f54a5 fix: archive check when project is a library
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-11 13:00:42 -03:00
Carlos Alexandro Becker
4471154461
fix: break the release if archive has different binary counts for each platform (#1841)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-10 08:46:16 -03:00
Carlos Alexandro Becker
2d8823b8cf
feat: snap restart-condition (#1837)
* 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>
2020-10-06 10:59:53 -03:00
Carlos Alexandro Becker
f41ac3cf9e
docs: gitlab subgroups (#1840)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-06 09:51:32 -03:00
Carlos Alexandro Becker
979f8632b7
refactor: use require on all tests (#1839)
* 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>
2020-10-06 12:48:04 +00:00
Carlos Alexandro Becker
2c487bc478
docs: improve archive docs (#1838)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-05 22:54:41 -03:00
Carlos Alexandro Becker
a6a4f29374
fix: use require on snapcraft tests (#1836)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-05 22:05:22 -03:00
Carlos Alexandro Becker
a1e8b8acc7 fix: merge issue
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-10-02 16:32:21 -03:00
Yoan Blanc
468387625b
feat: sign: extra option allowing stdin for commands (#1770)
* feat: extra option allowing stdin for the signing command

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>

* feat: allow stdin to be an empty string

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>

* fix: increase code coverage

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-10-02 16:26:37 -03:00
dependabot[bot]
e98aa8bc87
chore(deps): bump actions/checkout from v2.3.2 to v2.3.3 (#1822)
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.2 to v2.3.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.2...a81bbbf8298c0fa03ea29cdc473d45769f953675)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-02 08:55:34 -03:00
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
Artur Troian
c55267f49f
docs: how to cross-compile Go with CGO (#1826)
* docs: how to cross-compile Go with CGO

Signed-off-by: Artur Troian <troian.ap@gmail.com>

* docs: update mkdocs

Signed-off-by: Artur Troian <troian.ap@gmail.com>

* docs: add extenstion to cookbook name

Signed-off-by: Artur Troian <troian.ap@gmail.com>

* docs: fix link to cgo-cross-compiling

Signed-off-by: Artur Troian <troian.ap@gmail.com>
2020-09-30 10:42:26 -03:00
Carlos Alexandro Becker
f3c54f0904 docs: how to publish to nexus
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-23 21:41:05 -03:00
Carlos Alexandro Becker
4fa87989a6 docs: improved contributing
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-23 21:34:45 -03:00
Carlos Alexandro Becker
9e4d345d25 docs: how to release a library
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-23 21:33:52 -03:00
Carlos Alexandro Becker
71299f5663 docs: fix links
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-23 21:26:22 -03:00
Carlos Alexandro Becker
180a77c374 docs: how to add a new cookbook
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-23 21:24:05 -03:00
Carlos Alexandro Becker
41f6d9ba93 docs: created a cookbooks section
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-23 21:20:56 -03:00
dependabot[bot]
6ae3c7e07d
chore(deps): bump stefanzweifel/git-auto-commit-action from v2 to v4.5.1 (#1818)
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from v2 to v4.5.1.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v2...c7ad0bdb15809dc9825b3017c243da42dec21324)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-22 09:46:20 -03: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
ee540c6371 chore(ci): auto-commit go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-21 14:25:52 -03: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
github-actions[bot]
9fd5d61dba
chore(deps): go mod tidy (#1817)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-09-21 11:33:44 -03:00
dependabot[bot]
9afe994c30
chore(deps): bump github.com/xanzy/go-gitlab from 0.37.0 to 0.38.1 (#1809)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.37.0 to 0.38.1.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.37.0...v0.38.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-09-21 11:32:08 -03:00