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

228 Commits

Author SHA1 Message Date
Deavon M. McCaffery
93259b0683 feat(release): add artifact filter (by id) to release pipe (#1203)
* feat(release): add artifact filter (by id) to release pipe

* add `ids: string[]` to release configuration
* add support for filtering artifacts by id within the release pipe

* update docs for release
2019-10-19 16:01:11 -03:00
Carlos Alexandro Becker
a6da05b855
docs: archives example
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-17 16:17:24 -03:00
Carlos Alexandro Becker
44038a2f50
feat: nfpm without rpmbuild (#1187)
thanks @djgilcrease for all the hard work on nfpm
and google/rpmpack.

thanks to @jarondl who works on rpmpack as well.

great work everyone! 🚀

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-11 09:00:19 -03:00
CrazyMax
9423bb2abb Use v1 as recommended by GitHub (#1183) 2019-10-09 15:45:07 -03:00
Carlos Alexandro Becker
e0ef20341a
docs: stack overflow link
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-09-29 13:13:46 -03:00
CrazyMax
8fab55b555 docs: Use GoReleaser Action (#1161) 2019-09-29 11:32:25 -03:00
Manuel Vogel
d1e97a3fd8 fix: brew multiple archives on one tap (#1153)
* fix: tmp simplify

* refactor: brew tests for mutiple archives per os

* feat: adds keep latest goarm version and uses it for brew

* chore: adapts golden brew test file for arm version

* test: brew for multiple arm versions

* refactor(test): brew for multiple arms

* docs: updates homebrew

* Revert "fix: tmp simplify"

This reverts commit 946a2fa1b1.

* feat: adds goarm version to brew

* fix: filter chain for one goarm version

* chore: removes unused keep latest arm version filter

* refactor: brew tests

* fix: removes test for keep latest arm version

* docs: updates homebrew for goarm property

* chore: updaes err msg for brew multiple archives same os
2019-09-26 21:46:05 -03:00
Carlos Alexandro Becker
3120a38c64
feat: go 1.13 (#1135)
* feat: go 1.13

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

* fix: go.mod

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

* feat: update to go 1.13

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

* bump: deps

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

* fix: deps

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

* fix: trying replace

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

* fix: go mod init

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

* fix: disable funlen lint

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-09-13 09:53:56 -03:00
Carlos Alexandro Becker
2c08ab87a1
docs: fix typo
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-09-06 10:45:23 -03:00
Carlos Alexandro Becker
a07035614a
docs: brew download strategy
closes #967

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-31 10:33:06 -03:00
Marko Bevc
a7f049e941 docs: Update GitHub actions with new YAML syntax (#1130)
* fix: Update GitHub actions with new YAML syntax

* Update www/content/actions.md

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

* Update www/content/actions.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2019-08-30 10:18:25 -03:00
Carlos Alexandro Becker
d82565fb24
fix: go mod tidy everywhere
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-27 14:12:19 -03:00
dtluna
eb40d8682b feat: gitea release support (#1114)
* adds gitea release support
* closes #1106
2019-08-26 09:31:38 +02:00
Carlos Alexandro Becker
0847b30afa
docs: remove blob from index
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-19 10:59:49 -03:00
Manuel Vogel
54b2d0de25 docs: supported gitlab versions (#1116)
* chore: updates to latest gitlab dep version

* update gitlab version in bug report template

* updates docs for gitlab version on releases

* runs mod tidy
2019-08-14 10:07:59 -03:00
Manuel Vogel
e92bbe32ce feat: full gitlab support for brew and scoop (#1084)
* makes context tokentype a public var

* passes artifacts object into client upload function. extracts gitlab upload hash from url

* adds gitlab url to brew config

* build brew formula depending on token type

* fixes client for release tests

* fixes exiting brew tests

* fixes scoop test with dummy client adaption

* uses new artifact upload hash

* fixes brew usage

* updates gitlab createFile for brew

* fixes logging for non-existing file in gitlab logging

* fix: gitlab createFile

* fix: removes encoding from gitlab create and update file opts

* fix: gitlab upload and artifact set upload hash

* fix: linter

* changed artifact item to a pointer in ctx

* docs: updates homebrew

* feat: enables scoop for gitlab release

* fix: scoop panic for pointer access

* chore: rename formula build func for brew

* chore: brew removes comments

* fix: brew tests

* test: updates brew tests

* docs: updates homebrew

* test: for token type not implemented for brew

* tests: for multiple linux builds

* fix: build artifacts are pointer in scoop

* test: for scoop and gitlab

* test: for artifacts set upload hash

* adds missing files after adaption

* chore: removes and clarifies comments

* fix: moves artifact upload hash to extra map

* adds comment why we initialize the extra map
2019-08-13 15:28:03 -03:00
Navie Narula
b01bcabe96 docs: clarify shallow clone behavior (#1102)
* Clarify shallow clone behavior

* Update www/content/ci.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2019-08-09 11:27:55 -03:00
Carlos Alexandro Becker
516c348f6e
clean: remove deprecated docker options (#1098)
* clean: remove deprecated docker options

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

* ci: gocenter is slowwww

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

* clean: remove uneeded test

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

* Revert "ci: gocenter is slowwww"

This reverts commit 7e4b1eb244.
2019-08-02 21:03:54 -03:00
Carlos Alexandro Becker
ba0e472247
feat: add goreleaser check (#1096)
* feat: add goreleaser check

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

* docs: added to deprecations.md

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

* docs: added to bug.md

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

* test: added tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-02 16:37:50 -03:00
Carlos Alexandro Becker
844f95a2d0
fix: pluralize blob in the config file (#1095)
* fix: pluralize blob in the config file

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

* test: added tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-02 16:17:38 -03:00
Carlos Alexandro Becker
853b991ecc
docs: projects using goreleaser
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-27 10:45:59 -03:00
Carlos Alexandro Becker
5c16574c8c
feat: multiple sign (#1088)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-21 18:46:46 -03:00
Kei Arima
b3fa5cf1fd docs: fix typo in deprecations doc (#1085) 2019-07-17 16:41:18 -03:00
Manuel Vogel
31e27e918d fixes env usage description for docker images (#1083) 2019-07-16 18:10:45 -03:00
Simon Prochazka
aaa39e98c9 Improve formatting of drone section in CI guides (#1069) 2019-07-06 17:09:22 -03:00
Simon Prochazka
0eb99a404e Update CI for Drone 1.0 (#1068) 2019-07-05 11:21:46 -03:00
Simon Prochazka
aec878ffa9 Update tutorials.md (#1065) 2019-07-05 09:43:45 -03:00
Carlos Alexandro Becker
56c0cf0699
feat: update nfpm (#1063)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-29 12:26:01 -03:00
Manuel Vogel
eb7ba2a294 feat: add gitlab for releases (#1038)
* outlines gitlab client integration

* makes client parameter more explicit

* adds gitlab url to config

* changes releaseID to string to adapt to gitlab

* updates to latest gitlab client lib 0.18

* fixes copy paster in gitlab upload func

* fixes gitlab typo in config

* adds gitlab token to env and context

* release now uses the client factory method

* skips brew pipe if it is not a github release

* add github tokentype to publish tests

* skips scoop pipe if it is not a github release

* corrects brew skip msg

* adds gitlab token to main test

* adds gitlab to release docs

* validates config and errors accordingly

* adapt release pipe name to include gitlab

* fixes gitlab client after testing

* moves not-configured brew and scoop pipe checks as first check

* adds more debug to gitlab client

* adapts changelog generation for gitlab markdown

* adds debug log for gitlab changelog

* env needs to run before changelog pipe

* moves gitlab default download url to default pipe

* moves multiple releases check to from config to release pipe

* release differs now for github and gitlab

* adds debug gitlab release update msgs

* moves env pipe as second after before because it determines the token type other pipes depend on

* adaptes error check on gitlab release creation

* Revert "adaptes error check on gitlab release creation"

This reverts commit 032024571c.

* simplifies gitlab client logic. removes comments

* skips tls verification for gitlab client if specified in config

* updates the docs

* adds clarification that brew and scoop are not supported if it is a gitlab release

* fixes copy paster in release.md

* adds missing blob pipe in defaults and publish due to missing in merge

* updates comment in gitlab client
2019-06-29 11:02:40 -03:00
Carlos Alexandro Becker
0a8478bf19
docs: lint with misspell
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-28 10:13:56 -03:00
C123R
728154b7d7 docs: fix typos in blob doc (#1062) 2019-06-28 10:07:21 -03:00
Carlos Alexandro Becker
1cf34166b6
docs: fix build docs
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-28 09:09:19 -03:00
C123R
ce5ade64c1 fix: blob provider authentication issues for default aws mechanism (#1061)
* fix: blob provider authentication issues for default aws mechanism

* remove commented code

* docs: update the authentication doc

* fix: linter issues
2019-06-28 08:51:19 -03:00
Tom Payne
c9546ec81b feat: add support for completer in snaps (#1055)
* feat: add support for completer in snaps

* test: add completer test
2019-06-22 22:37:55 -03:00
Rob De Feo
158835f281 docs: Add Cross compile with CGO and GoReleaser (#1054) 2019-06-19 08:36:11 -03:00
Carlos Alexandro Becker
1ef9906e04
feat: multiple brew / linuxbrew (#1043)
* feat: multiple brew / linuxbrew

* feat: multiple brew / linuxbrew

* test: added missing tests

* docs: brews

* docs: deprecate brew

* test: fix tests

* fix: fmt

* test: fix tests
2019-06-10 10:35:19 -03:00
Carlos Alexandro Becker
60b9584361
feat: id filter on s3/blob pipes (#1042)
* docs: deprecate s3 in favor of blob

* feat: id filter on s3/blob pipes

* fix: close res.body
2019-06-09 16:51:24 -03:00
Ricardo N Feliciano
6926fb1ab1 docs: fix snap install command (#1039) 2019-06-06 01:20:35 -03:00
C123R
73b74a3169 feat: add support for pushing artifacts to cloud storage provider( S3, Azure Blob, GCS) (#1036)
* feat: adding support to push artifacts to AWS S3,Azure Blob and Google Cloud Storage

readme for blob publisher

test: add unit test for blob using testify and mockery

test: add unit test for publish method

fix: openbucket instance initialization

remove unwanted packages: go mod tidy

test: add missing unit test for publish method

* doc: add missing comment for func

* fix: add accidental delete file

* fix : add missing Snapcrafts project

* fix: unit test for Azure blob

* fmt: rewrite if-else-if-else chain to switch statement and fix golangci-lint reporeted issue

* fmt: fix linter reporeted issues

fmt: rewrite if-else-if-else chain to switch statement and fix golangci-lint reporeted issue

fmt: linter fix

* test: fix typo in test error string

* feat: add support to provider folder inside bucket, resolves discussed comments
2019-06-05 10:51:01 -03:00
Kostis (Codefresh)
fb81242c84 docs: added Codefresh instructions (#1037) 2019-06-03 09:18:27 -03:00
Grachev Mikhail
24c9a4e6f5 docs: fix typo (#1032) 2019-05-29 11:18:33 -03:00
Carlos Alexandro Becker
d355350f63
fix: nfpm id (#1030)
* fix: nfpm id

* fix: import order
2019-05-29 09:13:52 -03:00
Carlos Alexandro Becker
86c5b93260
feat: improved version command (#1028)
* feat: improved version command

* fix: typo

* test: fixed failing tests
2019-05-27 23:59:33 -03:00
Carlos Alexandro Becker
3ec6e5f05b
feat: multiple snapcraft (#1025)
* feat: multiple snapcraft

* test: more tests
2019-05-27 12:47:05 -03:00
Henk
579013d178 docs: Document GitLab CI (#1024)
* docs: Document GitLab CI

* docs: Document GitLab CI
2019-05-26 11:27:28 -03:00
Carlos Alexandro Becker
d9e89f69c7
feat: filter PUT by ID (#1016) 2019-05-17 10:25:01 -03:00
Carlos Alexandro Becker
8cb0632aec
docs: build from source steps
refs #1013
2019-05-14 11:22:56 -03:00
Carlos Alexandro Becker
c98d3881f7
refactor: id validations (#1015) 2019-05-07 07:18:35 -03:00
Carlos Alexandro Becker
19ed7564b4
feat: multiple nfpm (#1014)
* feat: multiple nfpm

* docs: improvements
2019-05-07 06:59:53 -03:00
Grachev Mikhail
2b8258f003 feat: add base key to snapcraft (#1011) 2019-04-18 17:21:40 -03:00
Grachev Mikhail
3da2b375c9 feat: add license to snapcraft (#1010) 2019-04-17 17:26:30 -03:00
Carlos Alexandro Becker
b8f5901265
feat: multiple archives (#942)
* feat: multiple archives

* fix: several things

* test: fixed

* fix: several things

* fix: archive id on the artifact

* fix: deprecated since

* docs: deprecations page improvements
2019-04-16 10:19:15 -03:00
Carlos Alexandro Becker
d8818c2683
docs: added another tutorial link 2019-04-15 12:53:21 -03:00
Carlos Alexandro Becker
5df1cac60a
feat: templates and inherit global env on build hooks (#1007)
* feat: templateable hooks

* test: improved test

* docs: docs about templateable hooks

* test: improve test

* test: skip test that only fails on travis
2019-04-14 15:16:20 -03:00
Carlos Alexandro Becker
15475c6484
feat: build id (#1008)
* feat: build id

* test: added more tests

* fix: imports
2019-04-14 15:16:01 -03:00
Simon Barendse
ce69ee5316 fix: use the filename of the binary in snapcraft (#1001)
* fix: use the filename of the binary in snapcraft

When builds.binary is a path, only use the filename as the name
of the snapcraft app and as the command, instead of the full path.

* docs: use a path in the binary name
2019-04-09 09:14:28 -03:00
Grachev Mikhail
94aca802af docs: fix typo (#999) 2019-04-07 02:22:46 -03:00
Carlos Alexandro Becker
367c6c0d1d
docs: improve docs 2019-03-24 20:10:30 -03:00
Carlos Alexandro Becker
6f2f760875
docs: GORELEASER_GITHUB_TOKEN on actions 2019-03-14 11:06:26 -03:00
Carlos Alexandro Becker
7c712120bc
feat: added Plugs attribute to snapcraft.Metadata (#984, #980, #979)
* feat: added Plugs attribute to snapcraft.Metadata allowing plugs to be configured as plugs.<plug-name>.<attribute-name>

* fix (test): added snapcraft plugs configuration test

* fix: snapcraft Metadata to use correct data type for Plugs

* fix: refactor Snapcraft Plug configuration

* fix: test on newer snapcraft
hopefully

* docs: snap plugs
2019-03-14 09:56:11 -03:00
smaftoul
f56b9a8509 fix: Allow brew with github actions (#982) (#983) 2019-03-14 09:13:12 -03:00
Roman Volosatovs
9081caba5e feat: ability to skip Docker update for pre-releases (#977) (#978) 2019-03-06 13:17:53 -03:00
Carlos Alexandro Becker
cf4aba68d3
feat: global env and template-able before hooks (#974)
* feat: global env

* docs: hooks templateable, global env

* docs: hooks templateable, global env

* feat: templas on before hooks

* docs: revert unwanted change

* fix: use os.environ too

* chore: travis

* fix: goreleaser.yml
2019-03-03 14:12:22 -03:00
Carlos Alexandro Becker
ba847a1661
docs: go 1.11+ 2019-02-26 17:17:30 -03:00
Wojtek Cichoń
3d26e977e8 docs(ci): Updating the link to Semaphore docs (#966)
Updating the link to Semaphore documentation on handling secrets.
2019-02-25 10:46:01 -03:00
Carlos Alexandro Becker
bcbef63023
docs: added rust article
closes #962
2019-02-21 17:26:58 -03:00
Carlos Alexandro Becker
d2fa6d5821
feat: support gzip format (#959)
* feat: support gzip format

* fix: wrong .gz detection

* docs: gz + multiple build
2019-02-07 12:12:20 -02:00
Alice
dd692bdf7d docs: Make a few things clearer in quickstart docs (#954) 2019-02-06 15:14:38 -02:00
Carlos Alexandro Becker
7c5da36f27
docs: fix archive.format docs 2019-02-05 09:48:21 -02:00
Carlos Alexandro Becker
7e79db1cc2
feat: support different checksum algorithms (#951)
* feat: support different checksum algorithms

* feat: added more algorithms

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

* fix: build
2019-02-04 17:27:51 -02:00
Carlos Alexandro Becker
457041ff3d
docs: build.name is not templateable 2019-02-04 09:42:25 -02:00
Sven Nebel
84fb7e4a08 docs: Fix typo (#947) 2019-02-01 10:59:34 -02:00
Andrew Hamilton
f7bfac8e6f feat: ability to skip Homebrew Tap update for preleases (#943)
- Updates Homebrew config to make "SkipUpload" a string so that it can
  contain more than true or false values. New available options are
  "true", "false" and "auto".
- Adds a new check in Homebrew publish to see if it should skip due to a
  prerelease and "SkipUpload" set to auto.
- Adds a new test to make sure that tap publishing is skipped when set
  to "auto" and a prerelease semver is provided.
- Updates documents to add information about the new "auto" option for
  "SkipUpload".
2019-01-30 09:28:05 -02:00
Carlos Alexandro Becker
2e3a007161
docs: actions: what doesnt work 2019-01-25 21:47:17 -02:00
Carlos Alexandro Becker
8096fac74d
docs: actions is-tag filter 2019-01-25 14:11:08 -02:00
Carlos Alexandro Becker
33d6d6b3a8
docs: s3 bucket name 2019-01-24 16:17:39 -02:00
Carlos Alexandro Becker
b83fdd82ac
feat: github actions support (#939)
* feat: github actions support

* docs: actions doc
2019-01-24 16:10:14 -02:00
Michael
0aa80eca02 feat: allow use template for s3 bucket 2019-01-21 22:48:42 -02:00
Carlos Alexandro Becker
b642320aeb
docs: release notes 2019-01-19 19:00:43 -02:00
Carlos Alexandro Becker
feb33c569c
docs: skip changelog 2019-01-19 18:35:00 -02:00
Carlos Alexandro Becker
ae37eba4d9 docs: deprecations page improvements 2019-01-19 18:26:01 -02:00
Carlos Alexandro Becker
d0bc5954da docs: deprecations page improvements 2019-01-19 18:26:01 -02:00
Carlos Alexandro Becker
b62d86f31b docs: skip tls verify 2019-01-19 18:26:01 -02:00
Carlos Alexandro Becker
59f10ad083 clean: removed deprecated git.short_hash option 2019-01-19 18:14:32 -02:00
Carlos Alexandro Becker
c22b3677ef docs: name templates 2019-01-17 22:47:14 -02:00
Carlos Alexandro Becker
7d7951a223
feat: template on flags (#923) 2019-01-17 10:50:00 -02:00
Carlos Alexandro Becker
cdfaae9b28
feat: support multiple binaries on docker (#919)
* feat: support multiple binaries on docker

* test: docker: fixed to use binaries

* refactor: several docker pipe improvements

* fix: tag templates

* test: fix defaults test

* fix: breaking: remove .Binary, .Os, .Arch support from docker image_templates

* fix: lint issues
2019-01-11 16:27:39 -02:00
Carlos Alexandro Becker
8694af596c
docs: fix typos on release docs 2019-01-10 16:06:01 -02:00
Márk Sági-Kazár
bf8f86e54e docs: Replace deprecated .Commit var with .ShortCommit (#913) 2019-01-07 08:44:49 -02:00
Federico G. Schwindt
d10c4f4f07 feat: add custom_block to brew formula generation (#906)
This allows authors to specify things such as devel, head and more.
See
https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md#advanced-formula-tricks
for details.
2018-12-30 00:06:54 -02:00
Carlos Alexandro Becker
bf68277b50 fix: improvements on docker extra_files 2018-12-16 12:34:21 -02:00
Carlos Alexandro Becker
c8354d5ac9 docs: snapshots
closes #740
2018-12-13 12:11:12 -02:00
Carlos Alexandro Becker
14e93c6390 fix: breaking: changed snapshot default name tmpl 2018-12-13 12:11:12 -02:00
Eelco
2f6cb9d719 feat: Allows pushing to private registry (#893)
using the goreleaser docker container
2018-12-10 13:45:01 -02:00
Pierre Boissinot
022c579d74 docs(ci): change snapcraft package with snapd (#889) 2018-12-02 16:57:38 -02:00
Felix Gläske
71abba61c3 feat: set github as pre-release if tag has a pre-release indicator (#871)
* Add check if tag contains indicator for pre release

* update release.md docs
2018-11-29 16:42:14 -02:00
fifi
e794eaf67f feat: add custom_require to brew formula generation
Due to the linked changes in homebrew deprecating "unused" download
strategies and the suggested workaround of adding a custom
"require_relative" I have added the ability to specify a ruby filename
in the brew specification

My use case is to continue using the GitHubPrivateRepositoryDownloadStrategy
without a deprecation warnings on every brew install.

brew deprecation:
599ecc9b5a (diff-ad9201cdd3b6f948345629ad812cd5bd)

suggested workaround:
https://github.com/Homebrew/brew/issues/5074#issuecomment-429274286
2018-11-23 10:26:06 -02:00
Carlos Alexandro Becker
1f6766d35e
docs: improved installation instructions
closes #877
2018-11-22 17:01:25 -02:00
Carlos Alexandro Becker
3fe09b20cf docs: custom wrap in directory 2018-11-14 09:50:18 -02:00
Carlos Alexandro Becker
18b8be6818 feat: support custom wrap directory
closes #728
2018-11-14 09:50:18 -02:00