1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-31 01:53:50 +02:00
Commit Graph

3014 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
a813644522
feat: support windows/arm64 (#2407)
* feat: support windows/arm64

closes #2404
closes #2405

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

* fix: broken test

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

* docs: deprecation warnings

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-16 23:00:56 -03:00
Carlos Alexandro Becker
d329a9c0d3
feat: add id to dockers and docker_manifests (#2399)
* feat: add id to dockers and docker_manifests

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

* feat: actually allow to use the images

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-16 22:11:54 -03:00
Carlos Alexandro Becker
72b7f3b302
feat: remove deprecated docker options (#2400)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-16 15:21:16 -03:00
Carlos Alexandro Becker
a4a96eab54
fix: main check when using gomod.proxy (#2390)
* fix: main check when using gomod.proxy

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

* fix: main check when using gomod.proxy

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

* test: fix

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

* test: fix

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-13 20:33:48 -03:00
dependabot[bot]
27150b099f
chore(deps): bump github.com/xanzy/go-gitlab from 0.50.2 to 0.50.3 (#2392)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.50.2 to 0.50.3.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.50.2...v0.50.3)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-12 09:02:35 -03:00
Carlos Alexandro Becker
1d90ecb8c3
docs: add more blog posts
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-10 21:52:32 -03:00
dependabot[bot]
8eab9af272
chore(deps): bump golang from 1.16.6-alpine to 1.16.7-alpine (#2385)
Bumps golang from 1.16.6-alpine to 1.16.7-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-06 10:03:22 -03:00
dependabot[bot]
70939c7f66
chore(deps): bump github.com/xanzy/go-gitlab from 0.50.1 to 0.50.2 (#2383)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.50.1 to 0.50.2.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.50.1...v0.50.2)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-05 08:51:54 -03:00
Carlos Alexandro Becker
9ed3c0c4a7
docs: fix monorepo.dir prop
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-04 17:39:50 -03:00
Jonas Lundberg
7f0edf6fe0
fix: make scoop write .json when --skip-publish (#2380)
* fix: make scoop write .json when --skip-publish

Don't skip the pipeline altogether but write
out the manifest.json file as the homebrew
pipeline does, only skip committing to the repo.

closes #2374

* Update internal/pipe/scoop/scoop_test.go

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-08-03 02:37:02 +00:00
Edward Maxwell-Lyte
18695c2687
fix: sort tags by version not day of the week (#2377)
* fix: tag sorting

When the HEAD commit has multiple tags, they are sorted in order to select the latest so that it can be released.

However, the existing sort would not work if there were multiple commits across a Wednesday and a Thursday.

For example:

```
git tag --points-at HEAD --format='%(creatordate)%09%(refname)'
Wed Jul 28 07:13:19 2021 +0000  refs/tags/v0.0.183
Thu Jul 29 13:31:07 2021 +0000  refs/tags/v0.0.184
Thu Jul 29 13:38:42 2021 +0000  refs/tags/v0.0.185
Thu Jul 29 13:57:44 2021 +0000  refs/tags/v0.0.186
```

When using the existing sort the `creatordate` field was targeted and reversed. Alphabetically Thursday comes before Wednesday, so that is reversed and the Wednesday release always comes first:
```
git tag --points-at HEAD --sort=-version:creatordate --format='%(creatordate)%09%(refname)'
Wed Jul 28 07:13:19 2021 +0000  refs/tags/v0.0.183
Thu Jul 29 13:57:44 2021 +0000  refs/tags/v0.0.186
Thu Jul 29 13:38:42 2021 +0000  refs/tags/v0.0.185
Thu Jul 29 13:31:07 2021 +0000  refs/tags/v0.0.184
```

This would make goreleaser attempt to release that existing tag again, and fail.

If we instead sort by reversed `refname` we get the tags ordered by their numeric value, which ignore the day of the week of release:
```
git tag --points-at HEAD --sort=-version:refname --format='%(creatordate)%09%(refname)'
Thu Jul 29 13:57:44 2021 +0000  refs/tags/v0.0.186
Thu Jul 29 13:38:42 2021 +0000  refs/tags/v0.0.185
Thu Jul 29 13:31:07 2021 +0000  refs/tags/v0.0.184
Wed Jul 28 07:13:19 2021 +0000  refs/tags/v0.0.183
```

Allowing the latest version, 0.0.186 in this case, to be targeted for release.

* corrected test case

* add space

* remove space
2021-08-02 16:20:09 +00:00
Carlos Alexandro Becker
5227ef0c24
docs: update docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-08-01 21:07:00 -03:00
Carlos Alexandro Becker
5b3f286ce4
docs: update url
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-29 10:39:14 -03:00
Carlos Alexandro Becker
9572ef58e5
chore: pin major of codecov 2021-07-29 09:49:25 -03:00
Ivan Vandot
fcfdeecc6a
docs: update use buildx syntax (#2371) 2021-07-27 17:48:08 -03:00
Carlos Alexandro Becker
cb8ecf52bb
docs: clarify gitlab release
closes #2370

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-26 11:57:11 -03:00
Carlos Alexandro Becker
27139e251a
fix: better custom publisher logs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-26 09:04:50 -03:00
Carlos Alexandro Becker
a9f076b8fc
fix: archive subdir with the same name as src
closes  #2366

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-26 08:38:14 -03:00
Carlos Alexandro Becker
1dd2ad1ae6
fix: return an err with stdout/err when a command failed (#2363)
* fix: return an err with stdout/err when a command failed

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

* chore: fmt

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

* test: fixes

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-24 21:32:04 -03:00
Carlos Alexandro Becker
2a304f5932
chore: improve pre-commit
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-24 21:21:22 -03:00
Carlos Alexandro Becker
c63d704ce6
test: fix
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-24 21:20:08 -03:00
msvechla
c3af58708c
feat: add docker-buildx to Docker image (#2333)
* add buildx to Docker image to support multi-arch docker builds

* add docker-cli-buildx to support multi-arch builds

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-07-25 00:17:32 +00:00
Carlos Alexandro Becker
3b6d12656d
chore: pre-commit hook
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-24 21:05:59 -03:00
Carlos Alexandro Becker
f37c045052
fix: copying file on docker pkg instead of hard linking (#2362)
* refactor: move copyfile to gio package

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

* refactor: copying file on docker pkg instead of hard linking

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

* chore: fmt

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

* test: fixex

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

* fix: one todo

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

* test: copy with mode

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

* chore: fmt

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

* fix: errors

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-24 19:59:43 -03:00
Carlos Alexandro Becker
b176b1ff80
feat: inc parts of semver, change snapshot default name (#2358) 2021-07-24 10:13:05 -03:00
Carlos Alexandro Becker
0935faf8e2
test: fix broken test
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-24 00:29:25 -03:00
Guilhem Lettron
6ecddbd7e9
feat(snapcraft): manage channel upload (#2361)
By default, snap store manage "edge", "beta", "candidate" and "stable".
Default to all this channels when package is in grade stable. But only on
"edge" and "beta" for grade "devel".

Signed-off-by: Guilhem Lettron <guilhem@barpilot.io>

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-07-24 00:23:59 -03:00
Carlos Alexandro Becker
7f40922ea2
chore: gofumpt
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-23 23:54:13 -03:00
Carlos Alexandro Becker
b97f29f1d7
fix: print website on version
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-23 23:26:19 -03:00
Carlos Alexandro Becker
bf19dc1079
feat: moving some cmd logs to debug (#2359)
* feat: moving some cmd logs to debug

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

* feat: moving some cmd logs to debug

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-23 12:09:29 +01:00
Carlos Alexandro Becker
73641c71ac
feat: file mappings in archives (#2347)
* refactor: archive files

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

* feat: better archives

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

* feat: better archives

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

* fix: test todos

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

* fix: go mod tidy et al

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

* fix: improve docs and remove typoe 'licence' from defaults

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

* test: fixes

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

* fix: error string

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

* test: remove some logs

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

* test: use utc

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-21 22:09:02 -03:00
dependabot[bot]
8c19bafdca
chore(deps): bump codecov/codecov-action from 1 to 2.0.1 (#2351)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 2.0.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...v2.0.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-20 09:29:41 -03:00
Carlos Alexandro Becker
c13a486169
docs: fix go install
closes https://github.com/goreleaser/goreleaser/issues/2352
2021-07-20 09:20:05 -03:00
Evan
d99641f31e
fix: gitignore patching needs leading newline (#2350) 2021-07-19 17:31:29 -03:00
Carlos Alexandro Becker
5a65f24fbd
docs: removed bintray cookbook as it was deprecated
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-17 22:31:23 -03:00
dependabot[bot]
e51b6d67f5
chore(deps): bump golang from 1.16-alpine to 1.16.6-alpine (#2345)
Bumps golang from 1.16-alpine to 1.16.6-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-16 15:48:08 -03:00
Matthieu MOREL
757065fb1b
chore(ci): enabled dependabot on docker (#2344) 2021-07-16 14:11:02 -03:00
Carlos Alexandro Becker
a6e0a7f8a1
feat: smaller releases.json (#2343)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-14 14:54:33 -03:00
Carlos Alexandro Becker
80dc5e65b7
chore: deleted in favor of new templates 2021-07-13 14:27:38 -03:00
Carlos Alexandro Becker
0ea374435e
docs: template 2021-07-13 14:25:31 -03:00
Carlos Alexandro Becker
e1f1ce7ca3
docs: template 2021-07-13 14:23:45 -03:00
Carlos Alexandro Becker
0c371ce7cc
docs: update template 2021-07-13 14:20:41 -03:00
Carlos Alexandro Becker
154ae24f2c
docs: bug.yaml template 2021-07-13 14:16:19 -03:00
Carlos Alexandro Becker
df376fb5e1
docs: improve install
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-07-12 14:49:26 -03:00
Carlos A Becker
98560bc61f
docs: fix link
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-12 11:54:29 +00:00
dependabot[bot]
fff89c02b8
chore(deps): bump github.com/goreleaser/nfpm/v2 from 2.5.1 to 2.6.0 (#2342)
Bumps [github.com/goreleaser/nfpm/v2](https://github.com/goreleaser/nfpm) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/goreleaser/nfpm/releases)
- [Changelog](https://github.com/goreleaser/nfpm/blob/master/.goreleaser.yml)
- [Commits](https://github.com/goreleaser/nfpm/compare/v2.5.1...v2.6.0)

---
updated-dependencies:
- dependency-name: github.com/goreleaser/nfpm/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-12 08:50:09 -03:00
Carlos A Becker
6409998dc8
docs: improving docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-10 17:11:37 +00:00
Carlos A Becker
745258cf3b
docs: packages
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-10 16:10:33 +00:00
Carlos A Becker
ec9db2bd56
docs: improve install docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-09 19:13:50 +00:00
Carlos A Becker
939f2b002b
docs: improve install docs
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-09 19:11:58 +00:00