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

260 Commits

Author SHA1 Message Date
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
6433f8649d
docs: clarify binary format
closes #1490

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 12:50:07 -03:00
CrazyMax
3841505619
docs: GoReleaser Action v2 (#1492)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-05-10 15:40:51 +00:00
CrazyMax
cafc9997b0
docs: Update GitHub Actions page (#1486)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-05-07 09:13:46 -03:00
Radek Simko
8f8063c495
docs: Fix Scoop installation instructions (#1485) 2020-05-06 09:58:25 -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
244ca69a09
docs: syntax on example
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-22 22:59:29 -03:00
Carlos Alexandro Becker
f0cc74521c
docs: improve github repo guessing docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-21 13:21:04 -03:00
Carlos Alexandro Becker
1f11eb0e6d
docs: update build flags
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-21 13:18:45 -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
Radek Simko
bda76d669d
docs: Update signing section to reflect build hooks (#1439) 2020-04-14 00:41:39 -03:00
J Taylor
26726bf8df
docs: add tar.xz to www content (#1441) 2020-04-13 15:01:14 +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
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
Lukas Spieß
88213a50fc
docs: Use "brews" plural form in documentation (#1423) 2020-04-05 00:02:06 +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
Yoan Blanc
06fa65fce5
docs: a name key is required (#1406)
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-30 13:21:32 -03:00
Carlos Alexandro Becker
0126a1f32b
feat: remove deprecated blob and sign (#1397)
* feat: remove deprecated blob and sign

you should now use blobs and signs instead.

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-22 16:26:22 -03:00
Carlos Alexandro Becker
22c9e04efd
feat: allow to use Release and Epoch on nfpm name template (#1396)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-22 13:54:47 -03:00
Carlos Alexandro Becker
278e17c502
docs: point to discussions
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-17 11:57:12 -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
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
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
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
Ted Wexler
4a4e947f8d
docs: clarify usage of --snapshot in quick start docs (#1356) 2020-02-20 15:39:42 -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
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
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
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
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
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
Carlos Alexandro Becker
5f2cf501e8
feat: remove deprecated s3 pipe (#1291)
* feat: remove deprecated s3 pipe

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

* fix: go mod tidy

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-26 12:25:27 -03:00
Yoan Blanc
1d7098ed42 docs: invite people to use docker --pull (#1305)
* www/docker: invite people to use --pull

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

* fixup! www/docker: invite people to use --pull

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

* goreleaser: label-schema is deprecated

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

* fixup! goreleaser: label-schema is deprecated

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

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-01-26 12:06:21 -03:00
CrazyMax
b367abd785 docs: run only on new tag note on github actions (#1306)
* docs: run only on new tag note on github actions

* Complete example
2020-01-26 11:50:53 -03:00
taormania
1b04c6517a Remove reference to deprecated download strategy (#1304) 2020-01-26 11:50:26 -03:00
jonjohnsonjr
0a190ef390 docs: fix typo (#1309)
macthes -> matches
2020-01-26 11:45:58 -03:00
Carlos Alexandro Becker
5793445dc6
docs: update travis docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-26 11:35:19 -03:00
Carlos Alexandro Becker
d1e23e99e8
docs: unshallow on github actions (#1298)
refs https://github.com/goreleaser/goreleaser-action/issues/69

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-14 10:11:21 -03:00
Tadej Janež
1943d3147b feat: specify (sub)directory with go code when building (#1273) 2020-01-13 14:23:00 -03:00
Carlos Alexandro Becker
bf11822a7e
docs: improve wording
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-08 11:11:09 -03:00
Carlos Alexandro Becker
d5dba76781
fix: syntax highlight
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-08 11:02:04 -03:00