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

403 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
1a515881b2
chore: added todo 2019-05-29 09:34:44 -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
7e809382df
fix: armhf on arm v6 (#1027)
* fix: armhf on arm v6

* fix: armel is arm5, so fix test
2019-05-29 09:09: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
Carlos Alexandro Becker
d6ea5f9af3
test: improved s3 pipe tests (#1021)
* test: improved s3 pipe tests

* chore: using only t.Log and variants

* fix: uneeded rm --force
2019-05-22 00:40:31 -03:00
Carlos Alexandro Becker
d9e89f69c7
feat: filter PUT by ID (#1016) 2019-05-17 10:25:01 -03:00
Tobias Kohlbau
4180aa3f6a fix: add env expansion within signage (#1020)
Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
2019-05-17 10:24:08 -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
73a08d5d49 feat: update go-github (#1012) 2019-04-22 09:44:08 -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
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
Carlos Alexandro Becker
1a971c0d9a
test: fixed git dirty test 2019-04-14 14:41:24 -03:00
Carlos Alexandro Becker
a62314d9bb
fix: small error msg improvement
refs #1005
2019-04-14 14:16:53 -03:00
Nico Esteves
2d5ea5010e fix: signature path and upload (#1003)
The signature Path was assumed to be at the root of dist without
taking into account the target of the original artifact. This made the
upload of signature fails with file not found errors.

The signature Name was the actual signature filename and didn't take
into account the target and would lead to conflicts when flattening
the paths for upload. This change derives the Name from the original
artifact Name instead.
2019-04-10 10:32:10 -03:00
Simon Barendse
2de196a745 fix: use bin name instead of bin path to set snap app config (#1002)
* fix: use bin name instead of bin path to set snap app config

* feat: add testcase for snap with binary in dir
2019-04-09 12:14:48 -03:00
Carlos Alexandro Becker
310bf450a8
fix: all envs allowed on build template (#992) 2019-04-09 09:15:05 -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
Carlos Alexandro Becker
d24c342ca0
fix: lint issue 2019-04-09 08:54:16 -03:00
Grachev Mikhail
dfd1e6a662 chore: combile similar type params (#993) 2019-03-31 14:11:35 -03:00
Grachev Mikhail
7de278535a fix: use constants for http methods instead of strings (#994) 2019-03-31 14:11:13 -03:00
Grachev Mikhail
7230b1cd31 test: remove unused parameter (#995) 2019-03-31 14:10:51 -03:00
Grachev Mikhail
d402fa0878 test: add additional error checking to tests (#996) 2019-03-31 14:10:26 -03:00
Phil DeMonaco
3fbba1b594 test: validate arch map for linuxpp64/ppc64le (#988)
I didn't notice the go testing framework when I made the first pull
request so these were left out. Not a big deal either way but we might
as well have complete tests.
2019-03-20 10:27:49 -03:00
Carlos Alexandro Becker
3395bf1719
fix: improve linux.Arch
should affect snapcraft and nfpm
2019-03-19 21:45:34 -03:00
Carlos Alexandro Becker
486d5303fd
fix(snapcraft): improve logs 2019-03-19 21:45:08 -03:00
Carlos Alexandro Becker
ec5dfaf9d8
fix(nfpm): improve logs 2019-03-19 21:44:53 -03:00
Carlos Alexandro Becker
d91a3239ec
test: make aws session test more reliable 2019-03-19 21:34:37 -03:00
Phil DeMonaco
adb6b947e4 feat: linux compatible arch for ppc64/ppc64le (#987)
Maps linuxppc64 and linuxppc64le to the standard ppc64 and ppc64le
nomenclature used in packages for these architectures.
2019-03-19 21:02:12 -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
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
809ef10fdd
fix: custom changelog and changelog.skip (#975) 2019-03-03 14:00:00 -03:00
Kamil Samigullin
b84f6cdcb2 update retry package version (#972) 2019-03-03 13:16:01 -03:00
Carlos Alexandro Becker
844676121b
bump: retry to v3 (#970) 2019-02-27 13:43:03 -03:00
Carlos Alexandro Becker
2a35ffbfbe
chore: added todo 2019-02-26 18:04:41 -03:00
Carlos Alexandro Becker
be1e9ce230
fix: interface 2019-02-26 17:57:04 -03:00
Carlos Alexandro Becker
adcc4524da
fix: suppress diffs on git show (#955) 2019-02-06 17:51:09 -02:00
Andrew Martin
a6b60ce74b fix: parse commit hash of GPG signed commit (#953) 2019-02-06 17:14:04 -02:00
Iskander (Alex) Sharipov
ba09765bfa fix: brew strings.HasPrefix args order (#949)
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
2019-02-04 17:28:36 -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
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
d183891332
fix: add do not edit header to brew formulas 2019-01-27 16:37:32 -02:00
Carlos Alexandro Becker
bc8687b302
fix: docker tests
closes #941
2019-01-26 11:26:34 -02:00
Carlos Alexandro Becker
60e54a1368
refactor/fix: improved CLI (#937)
* refactor: added middleware for action logs/error handling

* refactor: moved custom changelog load from main.go

* fix/refactor: CLI improvements

* test: do not pollute ./dist
2019-01-22 01:56:16 -02:00
Carlos Alexandro Becker
17a894981f
fix: CLI improvements (#936)
* fix: CLI improvements

* fix: CLI improvements

* fix: CLI improvements

* chore: lint
2019-01-22 01:12:17 -02:00
Michael
d730f3e735 improve tests 2019-01-21 22:48:42 -02:00
Michael
267145bbe4 fix: improve code 2019-01-21 22:48:42 -02:00
Michael
203066ffa0 feat: add tests 2019-01-21 22:48:42 -02:00
Michael
0aa80eca02 feat: allow use template for s3 bucket 2019-01-21 22:48:42 -02:00
Carlos Alexandro Becker
4a8d526f47 fix: do not override release notes 2019-01-19 18:47:59 -02:00
Carlos Alexandro Becker
f07bc40251 fix: lint 2019-01-19 18:26:01 -02:00
Carlos Alexandro Becker
55169a8c60 fix: nil transport 2019-01-19 18:26:01 -02:00
Carlos Alexandro Becker
6a87444e5f fix: nil transport 2019-01-19 18:26:01 -02:00
Carlos Alexandro Becker
d95b7f9adc fix: cast 2019-01-19 18:26:01 -02:00
Carlos Alexandro Becker
0ef202cb74 chore: unrequired if 2019-01-19 18:26:01 -02:00
Carlos Alexandro Becker
e13a3319bb feat: support skip tls on github cli 2019-01-19 18:26:01 -02:00
Carlos Alexandro Becker
742c8d03aa clean: removed uneeded param 2019-01-19 18:14:32 -02:00
Carlos Alexandro Becker
59f10ad083 clean: removed deprecated git.short_hash option 2019-01-19 18:14:32 -02:00
Carlos Alexandro Becker
ed2ca57bd5 clean: unused err 2019-01-19 17:33:33 -02:00
Carlos Alexandro Becker
a31abde2e9 clean: remove uneeded extra tag check 2019-01-19 17:33:33 -02:00
Carlos Alexandro Becker
df831077e5 fix: improved semver parsing 2019-01-19 17:33:33 -02:00
Carlos Alexandro Becker
a43c653254 test: docker: improve image label checks 2019-01-19 17:33:33 -02:00
Harry Bagdi
98f22d7882 feat: allow skipping changelog generation
In some cases, changelog or release notes do not need to be compiled for
various reasons.
This commit adds an option to Skip building the changelog.

Fix #888
2019-01-19 13:03:49 -02:00
Carlos Alexandro Becker
ef0bb10863 feat: support templates on docker.binaries 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
a0255abec6
fix: prerelease auto with repo set
closes #917
2019-01-10 17:09:46 -02:00
Carlos Alexandro Becker
d619efdd94
test: added failing test for #917 2019-01-10 17:08:08 -02:00
Carlos Alexandro Becker
1fdeba7369
chore: added debug log to release 2019-01-10 16:06:13 -02:00
Carlos Alexandro Becker
23df4b562c
fix: support multiple binaries in scoop pipe (#909)
* fix: support multiple binaries in scoop pipe

* fix: lint
2019-01-05 12:30:26 -02:00
Carlos Alexandro Becker
850205abf1
feat: back-reference build artifacts from archive artifact (#908) 2019-01-01 14:40:17 -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
Kamil Samigullin
2cc473280f use retry package to repeat uploads (#905) 2018-12-29 20:14:05 -02:00
Carlos Alexandro Becker
47f1fd81ea
fix: gofmt 2018-12-28 20:16:16 -02:00
Carlos Alexandro Becker
7255eb7461
Merge remote-tracking branch 'origin/master' 2018-12-28 19:19:02 -02:00
Carlos Alexandro Becker
8e42ab62a5
fix: better retry upload (#904)
* Revert "fix: retry upload (#900)"

This reverts commit 6e09a19a83.

* fix: better upload retry

* fix: fmt
2018-12-28 19:17:40 -02:00
Carlos Alexandro Becker
6fb427e5c8
Revert "fix: retry upload (#900)"
This reverts commit 6e09a19a83.
2018-12-28 18:58:11 -02:00
Carlos Alexandro Becker
6e09a19a83
fix: retry upload (#900)
* fix: retry upload

* fix: goimports
2018-12-23 11:41:36 -02:00
Carlos Alexandro Becker
15d00f2900
fix: pipe name 2018-12-22 19:28:38 -02:00
Carlos Alexandro Becker
bf68277b50 fix: improvements on docker extra_files 2018-12-16 12:34:21 -02:00
Carlos Alexandro Becker
07d9855890 fix: tests 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
Carlos Alexandro Becker
a69ef61d60 fix: snapshot version handling 2018-12-13 12:11:12 -02:00
Carlos Alexandro Becker
513473b446
fix: snapcraft: broken permissions 2018-12-12 18:32:22 -02:00
Carlos Alexandro Becker
7060eb8450
chore: small code improvements 2018-12-12 18:24:22 -02:00
Carlos Alexandro Becker
ab3bab15ce
refactor: simplified code 2018-12-04 11:36:51 -02:00
Tom Payne
14c7f06ca2 fix: pass missing arg to log.Warnf (#886) 2018-11-30 16:48:49 -02:00
Carlos Alexandro Becker
e7bec044a0
test: ignored err 2018-11-29 16:43:00 -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
Carlos Alexandro Becker
18efb4a5c2 fix: change defaults order 2018-11-25 18:25:38 -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
e966f9956a clean: removed unused method 2018-11-16 17:32:07 -02:00
Carlos Alexandro Becker
a17d51c350 test: increased coverage 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
Carlos Alexandro Becker
ce267acabf fix: uniq files inside archive
refs #836
2018-11-11 19:31:05 -02:00