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

2302 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
8447ef2737
chore: issue template config
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-17 11:50:48 -03:00
Carlos Alexandro Becker
c0a880f8a5
chore: issue template config
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-17 11:50:02 -03:00
Carlos Alexandro Becker
529cfca87d
chore: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-17 09:12:55 -03:00
dependabot-preview[bot]
499d42033d
chore(deps): bump github.com/goreleaser/nfpm from 1.2.0 to 1.2.1 (#1392)
Bumps [github.com/goreleaser/nfpm](https://github.com/goreleaser/nfpm) from 1.2.0 to 1.2.1.
- [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/v1.2.0...v1.2.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-17 11:51:52 +03:00
Carlos Alexandro Becker
bc64da18ab
fix: default evn tokenfiles (#1389)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-16 12:10:56 -03:00
Carlos Alexandro Becker
f18a5d1fee
docs: snapshot fix
closes #1388

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-16 11:40:17 -03:00
dependabot-preview[bot]
2cf7b40f3c
chore(deps): bump github.com/goreleaser/nfpm from 1.1.10 to 1.2.0 (#1386)
Bumps [github.com/goreleaser/nfpm](https://github.com/goreleaser/nfpm) from 1.1.10 to 1.2.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/v1.1.10...v1.2.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-12 10:18:08 +03:00
dependabot-preview[bot]
a6cfe04ce1
chore(deps): bump github.com/xanzy/go-gitlab from 0.27.0 to 0.28.0 (#1381)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.27.0 to 0.28.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.27.0...v0.28.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-06 10:43:30 -03:00
Carlos Alexandro Becker
81417ea989
feat: improve output a bit (#1380)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-06 01:25:09 -03:00
Carlos Alexandro Becker
5efb690d1c
fix: fail if cant guess project name (#1378)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 16:03:05 -03:00
Carlos Alexandro Becker
9ba04398a2
feat: support freebsd/arm64 and openbsd/arm64 (#1377)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 16:01:57 -03:00
Carlos Alexandro Becker
70c9e291ce
fix: http.target template (#1371)
* fix: http.target template

refs #1357

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

* fix: remove unused struct

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

* fix: test

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 01:45:05 -03:00
Carlos Alexandro Becker
02042937ec
feat: upgrade to go 1.14 (#1372)
* feat: upgrade to go 1.14

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

* fix: tests

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

* fix: test

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

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 01:24:51 -03:00
Carlos Alexandro Becker
2e69fa0667
fix: snapcraft: do not push when skip publish (#1374)
* fix: snapcraft: do not publish when skip publish

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

* fix: snapcraft: do not publish when skip publish

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 01:14:40 -03:00
Carlos Alexandro Becker
969fb4b804
feat: templateable archive.files (#1373)
* feat: support variable substitution in archive.files

* Update internal/pipe/archive/archive.go

* feat: templateable archive.files

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

* docs: templateable archive.files

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

Co-authored-by: Robbie Ostrow <ostrowr@users.noreply.github.com>
2020-03-04 00:52:43 -03:00
Craig Furman
139d13cc57
docs: Improve GitLab CI (#1369)
Fix typos that referenced GitHub.

Move config to job level. Users can extract elements to global config if
necessary, but since the snippet has no other jobs the use of global
config added confusion.

Disable shallow clones to fix changelogs.

Update use of GitLab image registry to use the USER/PASSWORD vars and
clarify that they are automatically set on jobs running on GitLab
instances with the image registry enabled.

Document use of `only` to not release every commit (optionally).

Format nested docker goreleaser command multi-line.

Document purpose of GITLAB_TOKEN.
2020-03-03 23:55:13 -03:00
dependabot-preview[bot]
e33b885108
chore(deps): bump github.com/xanzy/go-gitlab from 0.26.0 to 0.27.0 (#1368)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.26.0 to 0.27.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.26.0...v0.27.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 12:16:59 +03:00
Carlos Alexandro Becker
ad94dbc64d
fix: nfpm id
refs #1357

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-27 09:45:12 -03:00
Craig Furman
61fb8f50cc
fix: infer project name from GitLab/Gitea release (#1364) 2020-02-26 09:38:07 -03:00
dotwoo
d03c0aa0be
feat(nfpm): add nfpm release config (#1363)
add config.NFPM.Release  to set  nfpm release
2020-02-26 08:59:52 -03:00
dependabot-preview[bot]
57be451ff2
chore(deps): bump github.com/kamilsk/retry/v4 from 4.7.1 to 4.7.2 (#1360)
Bumps [github.com/kamilsk/retry/v4](https://github.com/kamilsk/retry) from 4.7.1 to 4.7.2.
- [Release notes](https://github.com/kamilsk/retry/releases)
- [Commits](https://github.com/kamilsk/retry/compare/v4.7.1...v4.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-25 12:06:26 +03:00
dependabot-preview[bot]
6edd241366
chore(deps): bump github.com/kamilsk/retry/v4 from 4.5.0 to 4.7.1 (#1358)
Bumps [github.com/kamilsk/retry/v4](https://github.com/kamilsk/retry) from 4.5.0 to 4.7.1.
- [Release notes](https://github.com/kamilsk/retry/releases)
- [Commits](https://github.com/kamilsk/retry/compare/v4.5.0...v4.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 10:22:50 +03:00
Ted Wexler
4a4e947f8d
docs: clarify usage of --snapshot in quick start docs (#1356) 2020-02-20 15:39:42 -03:00
dependabot-preview[bot]
3376311241
chore(deps): bump github.com/stretchr/testify from 1.5.0 to 1.5.1 (#1355)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 10:33:16 +03:00
Carlos Alexandro Becker
33d39188fa
fix: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-19 10:22:19 -03:00
Carlos Alexandro Becker
147af1653c
fix: loose go mod a bit
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-19 10:21:44 -03:00
dependabot-preview[bot]
82d0a3a86f
chore(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.0 (#1353)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 10:19:48 -03:00
dependabot-preview[bot]
d09a1d52a1
chore(deps): bump github.com/xanzy/go-gitlab from 0.25.0 to 0.26.0 (#1352)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.25.0 to 0.26.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.25.0...v0.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-18 10:14:13 -03:00
Carlos Alexandro Becker
3c01783ba8
fix: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-17 09:58:40 -03:00
dependabot-preview[bot]
c1f80bf6d4
chore(deps): bump github.com/kamilsk/retry/v4 from 4.4.1 to 4.5.0 (#1349)
Bumps [github.com/kamilsk/retry/v4](https://github.com/kamilsk/retry) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/kamilsk/retry/releases)
- [Commits](https://github.com/kamilsk/retry/compare/v4.4.1...v4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 09:57:32 -03:00
dependabot-preview[bot]
1a5780dd97
chore(deps): bump gocloud.dev from 0.18.0 to 0.19.0 (#1340)
Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.18.0...v0.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 09:56:49 -03:00
dependabot-preview[bot]
8d408e8a7d
chore(deps): bump github.com/xanzy/go-gitlab from 0.22.3 to 0.25.0 (#1339)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.22.3 to 0.25.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.22.3...v0.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 09:35:51 -03:00
Ben Kochie
7625a70812
fix: Use go mod download (#1345)
Recommend using `go mod download` rather than `go mod tidy` for fetching
dependencies. The `tidy` function is used to update things and chagnes
the dependency graph. Using the `download` function avoids any changes.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-02-17 09:13:28 -03:00
Carlos Alexandro Becker
a099acf5f5
fix: snap autocompletions (#1346)
closes #1343

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-17 09:12:32 -03:00
Carlos Alexandro Becker
d7c540523d
feat: upload extra files to the release (#1333)
* feat: upload extra files to the release

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

* fix: retry upload

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

* fix: go mod tidy

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

* fix: globs

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

* fix: globs

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

* fix: typo

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-11 16:10:41 -03:00
Bao Nguyen
dd35f28d51
feat: Add the ability to place artifact name (#1338)
This commit exposes the Artifact name as a template variable so that the
artifact name can be moved around within the `targetURL`. This enable users to
manipulate the target URL as desired in order to pass in PUT parameters that
doesn't always following the currently defined `targetURL` which append the
artifact name to the end.

This is needed to address[1] by enable the ability to add metadata to
Artifactory REST API [2] as the URL parameters, which need to be after the
artifact names.

It's important that this is backward compatible with existing release
configurations so this is an opt-in option, if it's omitted or not set, no
changes to exist configurations. When enabled with `CustomArtifactName=True` as
part of HTTP Upload options `Artifact.Name` will no longer be appended to the
end of TargetURL.

[1]:https://github.com/goreleaser/goreleaser/issues/1336
[2]:https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-Example-DeployinganArtifact
2020-02-10 22:59:57 -03:00
Carlos Alexandro Becker
1435e2bcc5
refactor: lint issues, style
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-05 22:10:16 -03:00
Carlos Alexandro Becker
d85fff06a2
fix gomips support (#1331)
* wip: fix gomips

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

* wip: fix gomips

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

* test: added more

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

* test: added more

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-05 22:08:18 -03:00
Nate Smith
16fe0ea3bf
feat: add ability to skip prereleases for scoop pipeline (#1332) 2020-02-05 22:05:43 -03:00
hackerman
ca3a63a537
feat: use CI environment variables to figure out tag (#1327)
* fix(git): Use CI envronment variables to figure out tag

This patch detects CI environments and uses the available tag information when
collecting the git tag.

This resolves issues where one commit has multiple tags.

Closes #1163
Closes #1311

* Update www/content/release.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Update www/content/release.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Update www/content/build.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Update www/content/release.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* feat(doc): Document git tag override in environment

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-01-31 15:38:56 -03:00
6543
abd66bf2e9
chore(deps): bump code.gitea.io/sdk/gitea from untaged to 0.11.0 2020-01-31 10:15:20 -03:00
Dave Wongillies
21df6b816f
fix: use long git arg for quiet (#1325) 2020-01-31 00:20:36 -03:00
Carlos Alexandro Becker
a4c91105b5
fix: snap with empty apps name
refs #1267

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-30 10:57:07 -03:00
Carlos Alexandro Becker
8408c1b83d
docs: improve docs on sign
closes #1319

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-30 10:09:47 -03:00
Carlos Alexandro Becker
181799c9c8
feat(sign): id, concurrent map (#1321)
* feat(sign): id, concurrent map

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

* fix: more tests

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

* fix: comments

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-30 00:21:45 -03:00
Carlos Alexandro Becker
1a4e2423fc
docs: clarify release.ids
refs #1320

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-29 21:47:22 -03:00
Carlos Alexandro Becker
20d88f880b
fix(ci): lock utils versions
refs #1318

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-29 21:42:54 -03:00
Carlos Alexandro Becker
2b1e496c7c
chore: rebuild docs
refs https://github.com/goreleaser/goreleaser/issues/1318

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-29 20:52:02 -03:00
Carlos Alexandro Becker
479798126e
feat: remove deprecated brew config (#1313)
* feat: remove deprecated brew config

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

* fix: wording

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

* fix: wording

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

* fix: defaults

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

* fix: defaults

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

* fix: defaults

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-26 18:36:01 -03:00
Carlos Alexandro Becker
3bfb36355e
feat: support to gomips (#1288)
* feat: support to gomips

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

* fix: prefix

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-26 14:36:00 -03:00