1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-15 01:34:21 +02:00
Commit Graph

2711 Commits

Author SHA1 Message Date
782cb96e59 chore(ci): goreleaser config
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-04 12:11:28 -03:00
73757acff9 docs: add multi-plat docker images to tutorials
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-04 12:06:20 -03:00
05d523d93a test: build with buildx
refs 0097bdc52d
refs #1989

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-04 12:00:07 -03:00
9d47cfde48 fix(ci): setup qemu
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-04 11:48:21 -03:00
0097bdc52d feat: use docker buildx build
refs #1989

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-01-04 11:27:27 -03:00
ea83297e73 fix: more logs for docker manifest
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
v0.151.2
2021-01-04 10:37:04 -03:00
528ee5a88e fix: arm64 docker img
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
v0.151.1
2020-12-31 15:29:40 -03:00
1c76860e93 fix: lint issue
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
v0.151.0
2020-12-31 14:25:30 -03:00
6735cf01a6 feat: simplify docker images (#1979)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-31 10:53:45 -03:00
dab94bafc2 fix: typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-30 17:37:12 -03:00
86b30e8f31 fix: race condition
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-30 17:36:31 -03:00
71c6d96da6 docs: fix nfpm symlink example
closes #1982

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-30 15:49:44 -03:00
8e45550e50 test: improve assertion
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
v0.150.1
2020-12-30 09:26:13 -03:00
1195844e47 fix: nfpm not including extra files
closes #1980

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-30 09:23:14 -03:00
c613dd9c95 fix: manifest with no parallelism (#1978)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-29 15:17:23 -03:00
1b0b6be8c5 chore(deps): bump github.com/golangci/golangci-lint from 1.33.0 to 1.34.1 (#1975)
* chore(deps): bump github.com/golangci/golangci-lint

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.33.0 to 1.34.1.
- [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.33.0...v1.34.1)

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

* fix: lint issues

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

* fix: go mod tidy

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>
v0.150.0
2020-12-29 15:40:21 +00:00
47f1a448dd test: fix unstable test
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-29 11:57:56 -03:00
93a94d1dad chore(ci): improve dockerfile/manifest (#1974)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-28 17:36:57 -03:00
d502e59479 fix(docker): handle empty docker images (#1972)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-28 17:36:46 -03:00
cdff6487e1 docs: ignore twitter 400 on htmltest
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-28 17:34:30 -03:00
35f87451f3 docs: improve docker_manifest examples (#1973)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-28 17:32:40 -03:00
6739c19308 chore(deps): bump github.com/xanzy/go-gitlab from 0.40.1 to 0.40.2 (#1957)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.40.1 to 0.40.2.
- [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.40.1...v0.40.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-28 16:38:56 -03:00
381625e664 docs: add changie to changelog generators (#1970) 2020-12-28 16:38:37 -03:00
20bdf9def1 feat: upgrade nfpm (#1968)
* feat: upgrade nfpm

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

* feat: upgrade nfpm

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

* fix: test

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

* docs: nfpm

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-28 17:40:23 +00:00
28562a319e chore(deps): bump codecov/codecov-action from v1.1.0 to v1.1.1 (#1960)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.1.0 to v1.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.1.0...1fc7722ded4708880a5aea49f2bfafb9336f0c8d)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-25 20:39:04 -03:00
2615b6cd4f feat: ugprade nfpm (#1964)
* feat: ugprade nfpm

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

* feat: ugprade nfpm

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

* fix: fmt

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

* fix: tests

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

* fix: do not modify list

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-24 02:07:48 +00:00
f10873d919 Revert "feat: allow automatic snapshot on dirty state (#1958)" (#1962)
This reverts commit d8a0f253d1.
2020-12-22 11:04:51 -03:00
d8a0f253d1 feat: allow automatic snapshot on dirty state (#1958)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-22 10:41:08 -03:00
9423da1b60 docs: unify naming of .goreleaser.yml file (#1955)
Since multiple filenames for the config file are allowed, we find several different usages of the file names in the docs:
- .goreleaser.yml
- goreleaser.yml
- .goreleaser.yaml
- goreleaser.yaml

I find that using a single filename in the docs is more intuitive for new users. Hence I replaced all occurrences of the filename with `.goreleaser.yml`.
2020-12-20 10:56:00 -03:00
65e264abc5 chore(deps): bump codecov/codecov-action from v1.0.15 to v1.1.0 (#1953)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.0.15 to v1.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.15...7de43a7373de21874ae196a78f8eb633fcf7f0c4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-18 08:27:58 -03:00
8d7f4366e0 chore(deps): bump github.com/ulikunitz/xz from 0.5.8 to 0.5.9 (#1954)
Bumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/ulikunitz/xz/releases)
- [Commits](https://github.com/ulikunitz/xz/compare/v0.5.8...v0.5.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-18 08:27:43 -03:00
a6946bbd17 chore: fix import
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-14 08:51:14 -03:00
984b24a93f fix: nfpm failed: signing error: armored detach sign: reading PGP key file: open <path to gpg file> when --skip-sign is true (#1944) 2020-12-14 08:50:26 -03:00
27c7c8d7c8 refactor(test): t.TempDir
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-13 10:33:08 -03:00
ec8e1081dc chore(deps): bump nfpm (#1946)
* chore(deps): bump nfpm

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

* chore(deps): bump nfpm

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-13 07:13:09 -03:00
a2d1c28335 chore(deps): bump github.com/xanzy/go-gitlab from 0.40.0 to 0.40.1 (#1932)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.40.0 to 0.40.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.40.0...v0.40.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-12 13:34:21 -03:00
339037ff60 chore(deps): bump code.gitea.io/sdk/gitea from 0.13.1 to 0.13.2 (#1933)
Bumps code.gitea.io/sdk/gitea from 0.13.1 to 0.13.2.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-12 13:33:54 -03:00
92f52ac406 refactor(test): use testing.TB Cleanup and Tempdir (#1945)
* refactor: use t.Cleanup instead of defer

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

* refactor: use t.Cleanup instead of defer

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

* refactor: use t.Cleanup instead of defer

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

* refactor: use t.Cleanup instead of defer

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

* fix: filepath

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-12 13:27:35 -03:00
4c3e3933a8 chore(deps): bump gocloud.dev from 0.20.0 to 0.21.0 (#1941)
Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.20.0...v0.21.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 20:14:58 -03:00
dc3543c99c chore(ci): apt update before trying to install snapcraft
refs #1940

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-11 19:01:01 -03:00
4c9b060511 docs: add new tutorial (#1943) 2020-12-11 11:57:39 -03:00
2f86bd63b8 chore(deps): bump github.com/goreleaser/fileglob from 0.3.0 to 0.3.1 (#1937)
Bumps [github.com/goreleaser/fileglob](https://github.com/goreleaser/fileglob) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/goreleaser/fileglob/releases)
- [Commits](https://github.com/goreleaser/fileglob/compare/v0.3.0...v0.3.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-12-09 08:39:38 -03:00
e3f8178b35 feat: IDs filter for Checksums pipe (#1805)
* Add IDs filter to checksums pipe

This allows specific artifacts to be excluded from the checksums file.

The reason for introducing this, is the requirement of Terraform
Registry releases to only contain the prescribed archives in the
checksums file. If the file contains more, the release is not accepted
by the Terraform Registry.

* Add test case for IDs filter of checksums pipe

* Document IDs filter of checksum pipe

* Always apply type filter for artifacts

This is more in line with how the other ID-filters work.
2020-12-09 08:38:56 -03:00
c10e597953 feat: add support for scripts in Scoop manifests (#1931)
* feat: add support for scripts in Scoop manifests

* fix: remove hidden newline from scoop golden file
2020-12-05 12:16:32 -03:00
264dedc12a chore: added todo for go 1.16 migration 2020-12-03 18:16:45 -03:00
eb22ebf75d chore(deps): bump github.com/xanzy/go-gitlab from 0.39.0 to 0.40.0 (#1930)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.39.0 to 0.40.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.39.0...v0.40.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-02 09:45:55 -03:00
a69839327f chore: fmt
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
v0.149.0
2020-11-30 21:53:47 -03:00
8fa7c6977a feat: add only the manifests to the release notes
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-30 21:53:36 -03:00
397ff3ba84 feat: add docker manifests to release notes (#1925)
* feat: add docker manifests to release notes

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

* chore: fmt

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

* refactor: improve code a bit

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

* test: cover artifact.Type.String() with tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-29 14:33:31 -03:00
3fb2366bd4 feat: install build-base on main img, drop -cgo img (#1924)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-28 18:04:13 -03:00