Thomas Manville
953e55a629
fix: honor order of functions in semerrgroup w/ parallelism == 1 ( #1100 )
...
* Honor order of functions in semerrgroup
* Separate implementation for parallel vs. serial
* Remove lock around serialGroup
* Short circuit when err != nil
* Simplify error logic
2019-08-05 08:36:14 -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
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
Dinko Korunic
7871c58ac2
fix: if resp is nil avoid checking resp.StatusCode in Gitlab client ( #1092 ) ( #1093 )
2019-08-01 08:26:53 -03:00
Carlos Alexandro Becker
8286402e3e
fix: better duplicate ID message
...
refs #1090
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-27 10:55:56 -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
Carlos Alexandro Becker
04f17669cc
feat(snap): allow previous in review process ( #1070 )
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-20 18:31:04 -03:00
Carlos Alexandro Becker
954638d5c3
fix: set bottle unneeded ( #1089 )
...
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-20 14:27:25 -03:00
Simon Prochazka
f6e5c4eed5
fix: ldflags need to be a single string to apply ( #1086 )
...
- fixes a case where ldflags are set as array in config yaml, this causes only last one to apply
2019-07-17 17:59:07 -03:00
Kei Arima
ce9b2c96d0
fix: breaking: use artifact.Name for the blob key instead of artifact.Path ( #1082 )
2019-07-16 18:08:46 -03:00
Carlos Alexandro Becker
4541fd9f20
feat: blob kms support ( #1056 )
...
* feat: blob kms support
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-07-12 10:10:22 -03:00
Thomas Gosteli
249657eb0b
fix(nfpm): propagate epoch config to nfpm ( #1076 )
2019-07-09 09:58:21 -03:00
Florian Heidenreich
38e536e470
Fixed token required if release is disabled #1073 ( #1074 )
2019-07-08 13:38:02 -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
f656e68ef9
fix: non-templateable field as default build.id ( #1060 )
...
* fix: non-templateable field as default build.id
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* test: added test for build.id
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* test: fixed test
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-28 08:52:10 -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
Carlos Alexandro Becker
ef6e13a61b
fix: brew tmpl ( #1057 )
...
* fix: brew tmpl
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: compile
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: compile
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-26 14:12:33 -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
Grachev Mikhail
3f082c9252
fix: generate valid brew formula ( #1048 )
...
closes #1047
2019-06-11 09:23:42 -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
Carlos Alexandro Becker
7ee486fc9b
fix: build with same binary name ( #1041 )
2019-06-09 12:14:30 -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
Tobias Kündig
3eec7e3e9d
fix: wrap snapcraft command in TrimSpace ( #1035 )
2019-05-29 16:08:48 -03:00
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
Carlos Alexandro Becker
7a6de727dd
test: fixed
2018-11-11 18:59:25 -02:00
Carlos Alexandro Becker
8867356965
chore: remove log
2018-11-11 18:59:25 -02:00
Carlos Alexandro Becker
2dd00ae7a6
fix: do not allow several archives with the same name
2018-11-11 18:59:25 -02:00
Carlos Alexandro Becker
a6bef50b0f
fix: archives with windows paths
2018-11-08 09:52:07 -02:00
Carlos Alexandro Becker
6c349c1759
fix: linter fixes
2018-11-08 09:40:23 -02:00
Carlos Alexandro Becker
aef63d2fcb
chore: brew: better join impl
2018-11-07 14:15:07 -02:00
Carlos Alexandro Becker
a273a978f2
fix: brew formula path on windows
2018-11-06 11:24:57 -02:00
Carlos Alexandro Becker
67482044d2
fix: defaults when release is disabled
...
closes #861
2018-11-03 15:37:51 -03:00
Carlos Alexandro Becker
498782e524
chore: log output
2018-11-03 15:25:01 -03:00
Carlos Alexandro Becker
e1258d381b
test: fix a docker test relying on /tmp
2018-10-30 23:50:55 -03:00
Carlos Alexandro Becker
bd5d853f60
test: fix build tests
2018-10-30 23:50:55 -03:00
Carlos Alexandro Becker
58de70c29e
chore: do not need to get output
2018-10-30 22:24:20 -03:00
Carlos Alexandro Becker
8348301b3e
fix: gpg: debug
2018-10-30 22:24:20 -03:00
Carlos Alexandro Becker
19cde27da9
test: gpg: fixed local execution
2018-10-30 22:24:20 -03:00
Carlos Alexandro Becker
53360bc58f
chore: log
2018-10-27 13:38:24 -03:00
Carlos Alexandro Becker
57d02172bf
fix: brew and scoop should be last to publish
...
refs #854
2018-10-27 13:37:07 -03:00
Garcia, Julio C
2da661bc77
fix: improve log output #845
...
Fixed missunderstanding
2018-10-27 13:36:58 -03:00
Garcia, Julio C
0f6d8daa05
fix: improve log output #845
...
Removed the "creating" prefixes.
2018-10-27 13:36:58 -03:00
Carlos Alexandro Becker
846e26f48b
test: disable colors on tests
2018-10-27 13:34:16 -03:00
Carlos Alexandro Becker
0dbce75983
test: disable colors on tests
2018-10-27 13:34:16 -03:00
Carlos Alexandro Becker
9b0a75d24d
test: disable colors on tests
2018-10-27 13:34:16 -03:00
Carlos Alexandro Becker
6f312b993b
chore: move defaulter to pkg, so godownloader can use it
2018-10-26 11:17:12 -03:00
Carlos Alexandro Becker
3010023b3a
fix: docker: build several tags
...
avoid needing to call docker tag later
2018-10-25 19:39:39 -03:00
Jonathan Lloyd
254a1cfab8
fix: Bring back docker release notes
...
Docker image names were not being added to the release notes
because the Github release step was happening earlier in the
pipeline than the docker release itself (so no artifacts had
been added to the context). This patch re-orders the pipeline
and adds a comment to warn against this happening again.
Fixes : #846
2018-10-25 10:13:33 -03:00
Carlos Alexandro Becker
84fdac7f2b
chore: improved log
2018-10-20 17:54:41 -03:00
Carlos Alexandro Becker
75c999ac73
chore: added a TODO
2018-10-20 17:47:55 -03:00
Carlos Alexandro Becker
f7268a0979
fix: deploy goreleases to snap store
2018-10-20 17:41:31 -03:00
Carlos Alexandro Becker
32d9440dff
test: added more tests
2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
6310b8c12d
fix: lint
2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
3d87275c09
fix: allow to publish snaps
2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
04ee42caed
feat: publish snaps
2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
fac4b621b0
feat: publish snaps
2018-10-20 17:25:18 -03:00
Carlos Alexandro Becker
24c6401341
test: skip publish
2018-10-20 14:42:46 -03:00
Carlos Alexandro Becker
76b18fb554
chore: fix log
2018-10-20 14:42:46 -03:00
Carlos Alexandro Becker
21084567fc
refactor: docker push moved to publish
2018-10-20 14:42:46 -03:00
Albert Salim
b8d0f29099
chore: go fmt
2018-10-20 13:15:15 -03:00
Albert Salim
b688e1f28c
feat: Add support image templates with backward compatibility
...
Docker pipe supports either image templates or image with tag templates.
Image template must be configured, no default is provided.
If image name is still used, provide default for tag templates,
for backward compatibility.
2018-10-20 13:15:15 -03:00
Albert Salim
5af006f415
refactor: Simplify docker test
...
Remove unnecessary fields in `TestRunPipe` test cases
2018-10-20 13:15:15 -03:00
Albert Salim
64ce2d5bd6
chore: Remove unused function
2018-10-20 13:15:15 -03:00
Albert Salim
ae2e6ddc0e
feat: Add support image templates
...
Docker config takes a list of image templates as image specification.
Existing config with image and tag templates are still accepted,
but will display deprecation notice.
Either image templates or image + tag templates is supported,
but not both at the same time.
This will also support publishing to multiple docker registries (#832 ).
Deprecated:
- `docker.image`
- `docker.tag_templates`
2018-10-20 13:15:15 -03:00
Albert Salim
ca2aafa367
feat: Add support for publishing to additional docker registries
...
Created a list of registries based on the docker image name and
additional registries. Image is then tagged with all permutations
of registry and tags.
See #832
2018-10-20 13:15:15 -03:00
Carlos Alexandro Becker
2bade44c73
refactor: artifactory: pipe -> publisher
2018-10-16 23:01:52 -03:00
Carlos Alexandro Becker
ad11351902
refactor: fix tests
2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
089731afc4
refactor: (s3/http): pipe -> publisher
2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
0b04e454fc
test: fix
2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
dd81fec3dd
refactor: release: pipe -> publisher
2018-10-16 22:20:53 -03:00
Carlos Alexandro Becker
6d6d6ece8f
test: add more tests
2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
23eb2c7756
fix: publish skip handling
2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
c449328428
fix: improved publish output
2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
5474d1ede7
wip: publish
2018-10-12 14:55:04 -03:00
Carlos Alexandro Becker
71aba28e18
chore: more logs
2018-10-10 13:27:53 -03:00
Carlos Alexandro Becker
9628eb8f89
chore: improved log output
2018-10-10 13:27:53 -03:00
Alan Scherger
6c79a6c51a
fix: be explicit when we query git for tags
...
When Jenkins is configured with 'Check out to matching local branch' the branch and tag name will conflict.
If we use explicit references to tags, then life is much better.
This patch also replaces our manual 'tag or not' boolean with a regex to check if the return is a SHA1.
If it is not a SHA1, it is assumed to be a tag. Hopefully this helps with future maintainability.
2018-10-06 22:21:46 -03:00
Alan Scherger
f6a7fb308c
feat: image names can ontain template variables
...
This now allows us to use things like the ProjectName as variables
in our docker image name. This is especially helpful when trying to
make the `.goreleaser.yml` as generic as possible.
2018-10-05 13:43:19 -03:00
Carlos Alexandro Becker
ba77abe07c
chore: make output less verbose
2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
6a035b83e9
chore: make output less verbose
2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
3c72ad1081
chore: make output less verbose
2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
71171ba222
chore: make output less verbose
2018-10-05 10:38:16 -03:00
Carlos Alexandro Becker
71df84f829
refactor: added publish pipe
2018-10-05 09:42:32 -03:00
Carlos Alexandro Becker
5c63f88290
test: add more tests
2018-10-04 23:23:31 -03:00
Carlos Alexandro Becker
748d97ef22
feat: git remote url in the template engine
2018-10-04 23:23:31 -03:00
Carlos Alexandro Becker
af99acf244
feat: add new template fields
2018-10-04 09:23:06 -03:00
Albert Salim
94f88bac84
feat: Add templating support for docker build-flags
...
I enhanced `BuildFlagTemplates` field in Docker image config to accept
templates. Build flags are tested by checking for images created with
labels applied through templates.
See #813
2018-10-03 10:51:01 -03:00
Albert Salim
c773e57165
feat: Add support for docker build-flags
...
I added `BuildFlags` field to Docker image config. Docker pipe is
updated to append build flags to the `docker build` command.
Build flags are not validated, leaving it Docker to error
when given an unknown flag.
See #813
2018-10-03 10:51:01 -03:00
Carlos Alexandro Becker
652645b3bf
feat: artifactory checksum header ( #772 )
...
* feat: artifactory checksum header
* fix: merge fixes
2018-10-01 16:52:16 -03:00
Carlos Alexandro Becker
aded99f621
feat: scoop: accept name/project name ( #811 )
...
* feat: scoop: accept name/project name
* fix: added todo to fix an issue
2018-09-30 11:04:32 -03:00
Carlos Alexandro Becker
0ebf43a0fd
chore: go fmt
2018-09-19 13:52:23 -03:00
He Liu
281632fe6c
fix: github.com/Masterminds/semver import path ( #808 )
...
* fix import path casing in Mastermind/semver
* fix import path in Gopkg.lock
2018-09-19 13:51:52 -03:00
Carlos Alexandro Becker
4206de324e
fix: added more logs
2018-09-18 10:14:30 -03:00
Carlos Alexandro Becker
817f0a7a13
fix: remove go generate
2018-09-16 21:46:21 -03:00
Carlos Alexandro Becker
a6965e6272
fix: remove dep on stringer
2018-09-16 21:46:21 -03:00
Carlos Alexandro Becker
c3a6c3f40d
chore: add debug to http put
...
refs ##790
2018-09-13 22:03:51 -03:00
Carlos Alexandro Becker
ac3dabbe4c
Merge branch 'master' into organizing
2018-09-13 21:38:09 -03:00
Pablo Lalloni
91dc94aae5
fix: remove windows cert pool support
2018-09-13 20:47:29 -03:00
Pablo Lalloni
4728741b29
fix: move certificates setting to pipelines
2018-09-13 20:47:29 -03:00
Pablo Lalloni
1948df1a55
feat: support setting trusted x509 certificates for tls clients
2018-09-13 20:47:29 -03:00
Carlos Alexandro Becker
39de856eb4
refactor: better package organization
2018-09-12 14:18:01 -03:00
Carlos Alexandro Becker
3d8725caee
chore: removed file that shouldnt have been commited
2018-09-12 13:36:31 -03:00
Carlos Alexandro Becker
bd5b15dc6b
docs: package graph
2018-09-12 13:34:26 -03:00
Mikhail Grachev
e08a473b8d
feat: add hash to scoop manifest
2018-09-10 09:10:10 -03:00
Pablo Lalloni
33a25e05a9
fix: remove location header requirement on http put responses ( #794 )
2018-09-10 09:08:54 -03:00
Carlos Alexandro Becker
0b28e3372d
fix: s3 test
2018-09-04 09:34:09 -03:00
Carlos Alexandro Becker
431c28b2bd
fix: gosec lint issues
2018-09-04 09:26:45 -03:00
Carlos Alexandro Becker
3a4e41096f
fix: added skip log to s3
2018-09-04 09:26:08 -03:00
Igor German
99a9da4c3b
feat: docker in docker support ( #785 )
...
* feat: docker in docker support
* fix: pr comments
2018-09-04 09:19:01 -03:00
Pablo Lalloni
93a0055d03
fix: Improve http test coverage
2018-08-25 18:24:34 -03:00
Carlos Alexandro Becker
99d5525c66
chore: lint fixes
2018-08-25 17:59:34 -03:00
Carlos Alexandro Becker
235fff7b8a
test: fix clear env on s3 tests
2018-08-25 17:47:05 -03:00
Krzysztof Grodzicki
8595a80384
refactor: extract aws session creation, add tests
...
To be able to write some tests in an easy way session creation logic has
been extracted. Added tests for configuration and different providers.
#754
2018-08-25 17:33:56 -03:00
Krzysztof Grodzicki
dc0e2bd766
feat: Add support for profile and assume an IAM role with MFA prompting
...
for token code on stdin when uploading to s3
In case when there are no credentials from provider chain session for S3
client is created with support for profile and assume an IAM role with
MFA prompting for token code on stdin
#754
2018-08-25 17:33:56 -03:00
Pablo Lalloni
991a1195ff
feat: Allow to get http username from env ( #777 )
2018-08-25 17:26:06 -03:00
Grachev Mikhail
da882e87fc
feat: Add persist definition to scoop manifest ( #776 )
2018-08-25 17:24:42 -03:00
Carlos Alexandro Becker
6217d1e90d
refactor: artifact checksum ( #771 )
2018-08-21 15:55:35 -03:00
Carlos Alexandro Becker
3678db8ade
fix: check if git is present in path ( #769 )
2018-08-20 23:18:43 -03:00
Carlos Alexandro Becker
3b4f48c2ff
refactor: scoop defaults
2018-08-20 22:20:04 -03:00
Grachev Mikhail
134e08cc67
feat: Add url template to scoop pipeline ( #768 )
2018-08-20 22:06:55 -03:00
Carlos Alexandro Becker
34e3f905c3
fix: multiple docker instances with the same extra files ( #766 )
...
* fix: multiple docker instances with the same extra files
* fix: removed unused seed param
2018-08-20 18:58:56 -03:00
Grachev Mikhail
e5c8000ff1
feat: copy all app metadata to default command ( #762 )
2018-08-20 09:15:09 -03:00
Carlos Alexandro Becker
838a2658d0
fix: build default binary name ( #761 )
2018-08-16 14:25:02 -03:00
Carlos Alexandro Becker
a04724d6b8
clean: removed deprecated docker options ( #759 )
...
* clean: remove fpm completely
* clean: remove docker tag_template and latest
2018-08-15 10:49:28 -03:00
Carlos Alexandro Becker
f0b7608f4d
clean: remove fpm completely ( #758 )
2018-08-15 09:56:49 -03:00
Grachev Mikhail
a91c8fd185
feat: Add default command for snapcraft ( #749 )
2018-08-15 09:38:42 -03:00
Carlos Alexandro Becker
838c1cd50d
fix: revert unwanted change
2018-08-15 00:28:58 -03:00
Carlos Alexandro Becker
81959bb644
fix: method name
2018-08-15 00:28:16 -03:00
Carlos Alexandro Becker
815ffc2a83
docs: clarify hooks
...
closes #741
2018-08-15 00:28:16 -03:00
Carlos Alexandro Becker
64b1f14a86
refactor: better code organization ( #757 )
...
* refactor: merging archive in the same repo
* refactor: merging archive in the same repo
* refactor: better organizing packages
* refactor: fixing renames
* fix: new dep version
* fix: makefile
* fix: zip/tar tests
* fix: gitigonore
* fix: s3 tests
* fix: archive test
2018-08-14 23:50:20 -03:00
Jonathan Juares Beber
a12a8bc25c
fix: typos ( #743 )
2018-08-01 09:59:57 -03:00
Grachev Mikhail
36bb63f86b
feat: add url_template in brew section ( #735 )
2018-07-26 10:03:28 -03:00
Carlos Alexandro Becker
8e62dddd29
test: improved tests
2018-07-09 22:04:25 -07:00
Carlos Alexandro Becker
b6f6e227de
refactor: semerrgroup wraps errgroup with a semaphore
2018-07-09 21:38:00 -07:00
Carlos Alexandro Becker
ccdd761c50
Merge branch 'master' into sem
2018-07-09 21:11:51 -07:00
Carlos Alexandro Becker
c41b372f81
fix: broken binary name
2018-07-09 00:29:15 -07:00
Carlos Alexandro Becker
92632956d1
chore: fix lint issues
2018-07-09 00:16:40 -07:00
Carlos Alexandro Becker
495126ffd9
chore: format and lint fixes
2018-07-09 00:01:06 -07:00
Carlos Alexandro Becker
71717947d3
fix: using tmpl in build, git and go builder pkgs
2018-07-08 23:08:06 -07:00
Carlos Alexandro Becker
507ca12b9a
fix: using a map to hold template data
2018-07-08 22:35:44 -07:00
Carlos Alexandro Becker
b7690e6513
test: test for artifact-only key with no artifacts
2018-07-08 22:32:21 -07:00
Carlos Alexandro Becker
aae42e96d7
test: fix data race
2018-07-08 21:28:26 -07:00
Carlos Alexandro Becker
30feb1294f
docs: tmpl godoc
2018-07-08 21:13:09 -07:00
Carlos Alexandro Becker
fc80e6b799
refactor: global single name templating package
2018-07-08 20:47:30 -07:00
Carlos Alexandro Becker
846f5ead40
Merge remote-tracking branch 'origin/master' into sem
2018-07-04 01:39:55 -07:00
Carlos Alexandro Becker
31f0599e24
fix: data race on test
2018-07-04 01:37:32 -07:00
Carlos Alexandro Becker
bcfdb9a890
Merge branch 'master' into debug
2018-07-04 01:25:55 -07:00
Carlos Alexandro Becker
874f53dacb
fix: several linter issues
2018-07-04 01:22:45 -07:00
Carlos Alexandro Becker
abe90e9f5f
refactor: simplified code
2018-07-03 23:44:51 -07:00
Carlos Alexandro Becker
9d4be131cf
fix: show git error on debug
2018-07-03 23:41:36 -07:00
Carlos Alexandro Becker
58d71a1c95
refactor: add a semaphore lib
...
Simple lib for better semaphore semanthics.
2018-06-25 17:00:00 -03:00
Pablo Lalloni
d41703227c
fix: add internal/http tests
2018-06-25 10:01:31 -03:00
Pablo Lalloni
e1e1a9bf9c
feat: improve selection of artifacts to upload
2018-06-25 10:01:31 -03:00
Pablo Lalloni
b863a43558
fix: reduce code duplication
2018-06-25 10:01:31 -03:00
Carlos Alexandro Becker
4fa9080885
chore: fix lint issues
...
refs #688
2018-06-19 15:53:14 -03:00
Carlos Alexandro Becker
d2e880cb2c
feat: allow environment variables in release name_template
...
closes #691
2018-06-06 21:39:41 -03:00
Eli Young
5252f74ade
feat: Convert flag fields into lists
...
This allows users to specify different sets of compiler, assembler,
and/or linker flags for different packages. It also makes it possible to
specify generic flags that contain spaces. It does this while
maintaining compatibility with the old format of the fields in question
by up-converting bare strings into single-element lists.
Resolves #668
2018-05-15 08:12:11 -03:00
Carlos Alexandro Becker
8690ee07e5
fix: lint issues
2018-05-13 17:02:29 -03:00
Carlos Alexandro Becker
1c426847d9
feat: upload to s3
2018-05-13 17:02:29 -03:00
Carlos Alexandro Becker
38b81ffe7d
fix: deprecation notices new url
2018-05-01 20:32:46 -07:00
Carlos Alexandro Becker
438e6e210a
Revert "feat: Create new tags for GitHub release ( #643 )"
...
This reverts commit 65ff5b771b
.
2018-04-26 12:27:24 -07:00
Eli Young
46aa41e27e
feat: Add asmflags and gcflags fields ( #648 )
2018-04-20 08:26:04 -03:00
holladay-io
65ff5b771b
feat: Create new tags for GitHub release ( #643 )
...
I added the target_commitish to the release payload
so the tag will be created if it does not already exist.
This value will not be used if the tag already exists.
2018-04-18 21:15:51 -03:00
Erno Aapa
42fe5761f7
fix: Use right architecture for ARM packages
...
Previously when creating deb package for ARMv6 and ARMv7 the
architecture information were invalid in the generated package.
For example ARMv6 package got armhf architecture which is not right.
According to https://wiki.debian.org/ArmHardFloatPort ,
armel is armv4t, armv5, armv6 and armhf is armv7 so updated
to use correct architecture.
2018-04-15 21:06:30 -03:00
Carlos Alexandro Becker
5a0b6c4608
fix: added time func to ldflags template
2018-04-15 20:32:52 -03:00
Carlos Alexandro Becker
7b45c9abbc
style: simplified time template func
2018-04-03 20:55:29 -03:00
Carlos Alexandro Becker
b2dd235614
style: simplified template code
2018-04-01 15:57:25 -03:00
Dominik Schulz
c0379ed858
feat: Provide time template func
...
This commit adds a customizable time function to the release name
template.
2018-04-01 15:19:32 -03:00
Carlos Alexandro Becker
8877c72abc
chore: better commit msgs for brew and scoop pipes ( #605 )
...
* style: moving commit msg to the pipe instead of the client
refs #604
* fix: better commit msg for scoop and brew
2018-03-10 14:13:00 -03:00
Carlos Alexandro Becker
76cfa61407
refactor: remove fpm in favor of nfpm ( #567 )
...
* refactor: remove fpm
* refactor: remove fpm
* refactor: .travis.yml
* chore: more cleanup
* chore: fix deploy
2018-02-26 18:49:58 -03:00
Carlos Alexandro Becker
2ea883e0c4
* feat: allow snapshots on a folder that is not a git repo ( #579 )
...
* feat: allow running against a folder that is not a git repo
* test: cover clean err
* test: release: increase coverage
* test: fix race condition
2018-02-25 20:17:45 -03:00
Carlos Alexandro Becker
0694b46bcc
fix: better deprecation notices ( #561 )
...
* fix: better deprecation notices
* test: covered deprecate with tests
* docs: improved docs
* docs: improved docs
* chore: organize imports
* style: code improve
2018-02-17 13:43:29 -02:00
Carlos Alexandro Becker
66338de1bb
style: removed elses, improved test code
2018-02-16 15:03:37 -02:00
Southclaws
0a37305745
fix: Silent failure caused by branching logic
...
Changed the branching after the `GetContents` call to *first* check for
a non-404 error (internal failure of some sort) and then proceed to
check the status to determine whether to `CreateFile` or `UpdateFile`.
2018-02-11 12:09:46 -02:00
Southclaws
f8a7ac602e
update: Added some missing changes
...
I forgot these!
2018-02-09 14:20:39 -02:00
Southclaws
d7107803a3
refactor: Changed Client.CreateFile to be more generic
...
The GitHub implementation of CreateFile implicitly uses HomeBrew data.
Added parameters for CommitAuthor and Repo so the call site can specify
these parameters based on the context.
2018-02-09 14:20:39 -02:00
Harmen
002d88b514
fix: Catch all stat errors
2018-02-01 13:27:21 +01:00
Carlos Alexandro Becker
20f18cb80d
Merge remote-tracking branch 'origin/master' into build
2018-01-28 13:02:16 -02:00
Carlos Alexandro Becker
f7be04a239
fix: git: if exit is 0, ignore stderr
2018-01-28 12:03:46 -02:00
Carlos Alexandro Becker
2d54332bee
Merge branch 'master' into build
2018-01-28 11:46:19 -02:00
Carlos Alexandro Becker
a89e3ace00
chore: added todo
2018-01-28 11:46:16 -02:00
Carlos Alexandro Becker
4da660d790
test: improve tests as per review
2018-01-28 11:42:03 -02:00
Carlos Alexandro Becker
8d37d45288
chore: added more logs to git
...
refs #529
2018-01-27 15:50:44 -02:00
Carlos Alexandro Becker
96a431c6a8
fix: several review suggestions
2018-01-26 21:54:08 -02:00
Carlos Alexandro Becker
fc7f33be98
style: renamed Default to WithDefaults
2018-01-26 19:35:12 -02:00
Carlos Alexandro Becker
a2d8087661
style: avoid bad abstractions
2018-01-26 19:26:28 -02:00
Carlos Alexandro Becker
9897a001bd
test: golang builder: 100% covered
2018-01-26 19:11:40 -02:00
Carlos Alexandro Becker
0bac9cb7d8
Merge remote-tracking branch 'origin/master' into build
2018-01-26 18:49:26 -02:00
Carlos Alexandro Becker
a309eae83b
fix: updated deps
...
closes #527
2018-01-26 09:37:10 -02:00
Carlos Alexandro Becker
2f69359209
test: skip for now
2018-01-23 15:47:04 -02:00
Carlos Alexandro Becker
9416dcc751
refactor: just started fixing tests
2018-01-22 01:10:17 -02:00
Carlos Alexandro Becker
4e6982a524
refactor: allow builders to have custom defaults
2018-01-21 23:37:39 -02:00
Carlos Alexandro Becker
42a8f0b194
refactor: adios build target
2018-01-21 22:44:06 -02:00
Carlos Alexandro Becker
d954f8a6df
wip
2018-01-21 18:54:33 -02:00
Carlos Alexandro Becker
a457ae6e17
feat: support multiple build systems
2018-01-21 14:31:08 -02:00
Andy Grunwald
825f19bb55
fix: Typo in buildtarget
...
The buildtarget contained a typo. This fixes it.
2018-01-20 18:30:33 +01:00
Carlos Alexandro Becker
4d71720b67
feat: skip formula upload
2018-01-12 19:24:58 -02:00
Carlos Alexandro Becker
9021160b11
fix: break if env not available
...
closes #467
2018-01-02 19:01:55 -02:00
Carlos Alexandro Becker
7910863ecd
refactor: improved name template
...
Should keep the previous behavior of having binary == nametemplate
2017-12-29 11:47:13 -02:00
Carlos Alexandro Becker
876e5fbe38
style: renamed template pkg to filenametemplate
2017-12-29 11:27:15 -02:00
Carlos Alexandro Becker
9b0441cbe4
docs: godoc of template pkg
2017-12-26 22:51:28 -02:00
Carlos Alexandro Becker
915e404629
test: fixed broken template test
2017-12-26 22:20:48 -02:00
Carlos Alexandro Becker
4ce13bc7c3
refactor: name templates for archive pipe
2017-12-26 21:19:58 -02:00
Carlos Alexandro Becker
fc4d9363bc
refactor: name templates
2017-12-26 21:10:37 -02:00
Carlos Alexandro Becker
4f3ed001da
fix: import
2017-12-20 10:42:18 -02:00
Carlos Alexandro Becker
f210a28ff9
fix: avoiding double escapes
2017-12-20 09:55:36 -02:00
Carlos Alexandro Becker
65d3c7ad7f
test: testing log output as well
2017-12-20 09:55:18 -02:00
Carlos Alexandro Becker
449ec3f49b
fix: re-added .Binary to supported fields
...
Also added a deprecation warning and tests,
Closes #476
2017-12-20 09:27:32 -02:00
Carlos Alexandro Becker
3a1f737747
refactor: move archiveformat code inside archive pipe
...
It was being used only in that pipe anyway.
2017-12-18 21:15:32 -02:00
Carlos Alexandro Becker
ca0b59633c
Revert "fix: dont compile without go:generate"
...
This reverts commit 6135c9f2bd
.
2017-12-18 09:49:49 -02:00
Carlos Alexandro Becker
6135c9f2bd
fix: dont compile without go:generate
2017-12-18 09:29:58 -02:00
Carlos Alexandro Becker
530feac44a
fix: improved artifact add logs
2017-12-18 09:19:02 -02:00
Carlos Alexandro Becker
10c6df73c0
chore: more cleanup
2017-12-18 09:00:19 -02:00
Carlos Alexandro Becker
245e888359
chore: cleanup
2017-12-18 00:53:48 -02:00
Carlos Alexandro Becker
aceb41b0b2
fix: cleaning up
2017-12-17 22:31:27 -02:00
Carlos Alexandro Becker
f9dbfb5d70
fix: cleaning up
2017-12-17 22:28:24 -02:00
Carlos Alexandro Becker
32fbebcc58
refactor: small fixes here and there
2017-12-17 18:01:58 -02:00
Carlos Alexandro Becker
24f186a63c
refactor: fixed sign and snap pipe
2017-12-17 17:25:04 -02:00
Carlos Alexandro Becker
906c8b08e3
refactor: fixed fpm pipe
2017-12-17 17:11:08 -02:00
Carlos Alexandro Becker
1982259c29
refactor: improved artifact filtering
2017-12-17 16:59:54 -02:00
Carlos Alexandro Becker
248810535e
refactor: fixed brew pipe
2017-12-17 16:31:06 -02:00
Carlos Alexandro Becker
574b2942b3
refactor: refactored artifactory pipe
2017-12-17 16:10:40 -02:00
Carlos Alexandro Becker
d83b420f39
refactor: changed code on archive pipe
2017-12-17 15:50:09 -02:00
Carlos Alexandro Becker
b9cc820e1d
refactor: changed code on build pipe
2017-12-17 15:24:49 -02:00
Carlos Alexandro Becker
f09a5396fb
refactor: new artifact package
...
It contains the needed code to refactor the rest of the app
2017-12-17 15:14:21 -02:00
Carlos Alexandro Becker
eb19e2b5d9
refactor: rm internal/name pkg
...
Each pipe now does its own templating
2017-12-03 13:00:01 -02:00
Carlos Alexandro Becker
2cc10c3cc8
chore: fixed/ignore lint issues
...
GAS started to break on file/folder permissions
and executing things with variables.
closes #422
2017-11-26 20:40:07 -02:00
Carlos Alexandro Becker
1d7b0e072b
chore: added more test
...
Added a test to cover the git.Clean function..
Refs #284
2017-10-18 09:19:36 -02:00
Carlos Alexandro Becker
87d269dc45
refactor: turned changelog generation into a pipe
...
I turned myself into a pipe morty!
PipeRick!!!
refs #284
2017-10-18 09:19:36 -02:00
Matt Stratton
8f71cf33a0
Merge branch 'master' into mattstratton/add-custom-release-title
2017-10-16 13:57:04 -05:00
Carlos Alexandro Becker
850c2e14f2
fix: detect if current folder is a subfolder of a parent git repo
...
We were checking for a .git folder, which would break in cases
where goreleaser is running from a subfolder of a monorepo, for example.
Check 529af6f#commitcomment-25011738
Closes #402 #403
2017-10-16 15:59:39 -02:00
Matt Stratton
e2ee7c4b2f
feat: Add ability to specify release name
...
Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
2017-10-07 05:49:58 -05:00
Jorin Vogel
db7af5388d
feat: Add prerelease option
...
Add an config option to `release` section to set a release at not ready
for production.
Closes #384
2017-10-05 15:47:29 +02:00
Carlos Alexandro Becker
e798a8dc3a
Merge branch 'master' into lint
2017-10-01 09:46:14 -03:00
Jorin Vogel
a5bf473f70
Add config field to overwrite brew commit author
...
Default author name and email can be set in config file.
Close #292 .
2017-09-30 21:18:09 +02:00
Carlos Alexandro Becker
fe36819fe7
Merge branch 'master' into lint
2017-09-27 08:43:52 -03:00
Carlos Alexandro Becker
d85a9001ec
removing all assert.New because vet shadow complains about this now
...
aaaaaaaaaaarhhhhhhhhgttt
2017-09-26 19:24:49 -03:00
Carlos Alexandro Becker
f1f04d809d
fixed for detached heads
2017-09-26 19:02:18 -03:00
Carlos Alexandro Becker
b72e2bc27e
fixed lint errors
2017-09-26 18:50:00 -03:00
Carlos Alexandro Becker
fd0e57ee4e
github enterprise config update
2017-09-26 18:33:22 -03:00
Carlos Alexandro Becker
4fefd7608e
merge fixes
2017-09-24 14:25:21 -03:00
Stephan Klevenz
1cd2e5e625
Merge branch 'master' into support-github-enterprise
2017-09-24 17:25:17 +02:00
Stephan Klevenz
ca48aa430f
support github enterprise
2017-09-24 17:02:34 +02:00
Carlos Alexandro Becker
64ffdd4a5c
enabled more linters and fixed them
2017-09-14 21:19:56 -03:00
Carlos Alexandro Becker
c541d99c58
checksums name template support
2017-08-27 20:45:33 -03:00
Carlos Alexandro Becker
71eab55b42
fixed arm .deb
2017-08-27 13:18:23 -03:00
Carlos Alexandro Becker
bbaabd7c37
improved logging
2017-08-20 17:46:30 -03:00
Carlos Alexandro Becker
ce7a2227a0
fixed tests
2017-08-20 16:50:34 -03:00
Carlos Alexandro Becker
d7efa64075
removed duplicated code
2017-08-19 12:47:04 -03:00
Anthony Fok
183d378cab
Allow linux s390x builds
2017-07-26 01:10:51 -06:00
Carlos Alexandro Becker
f643b33bda
git on testlib
2017-07-23 16:42:17 -03:00
Carlos Alexandro Becker
57753af876
testlib
2017-07-23 16:27:46 -03:00
Jorin Vogel
77f366ba57
Make build ignore fields additive. Fixes #293 .
2017-07-10 13:44:07 +02:00
Carlos Alexandro Becker
f527803284
pretty target string
2017-07-09 13:16:38 -03:00
Carlos Alexandro Becker
485f71b51a
moving targets to buildtarget package as well
2017-07-09 13:14:35 -03:00
Carlos Alexandro Becker
2e0e05134d
refactoring buildtarget
2017-07-06 19:49:21 -03:00
Carlos Alexandro Becker
183c385e86
Merge branch 'master' into naked-release
2017-07-03 20:07:48 -03:00
Carlos Alexandro Becker
e8bdba5752
Merge pull request #272 from goreleaser/goreleaserbot
...
using a valid email to publish formulas
2017-07-03 20:04:40 -03:00
Carlos Alexandro Becker
74d3f69289
godocs
2017-07-03 01:01:27 -03:00
Carlos Alexandro Becker
624948faa6
test coverage
2017-07-03 01:00:43 -03:00
Carlos Alexandro Becker
8915f8bbf6
fixes for multiple builds
2017-07-03 00:57:39 -03:00
Carlos Alexandro Becker
601475c0af
using a valid email to publish formulas
2017-07-02 17:35:29 -03:00
Carlos Alexandro Becker
bc64deeb09
archive format overrides could break brew formula
2017-07-02 12:02:20 -03:00
Carlos Alexandro Becker
6158285994
project name, templates, readme, etc
2017-07-01 22:42:10 -03:00
Carlos Alexandro Becker
a3c1e2b789
fixed another todo
2017-07-01 22:11:50 -03:00
Carlos Alexandro Becker
67861b6261
Merge branch 'master' into builds
2017-07-01 13:21:25 -03:00
Carlos Alexandro Becker
d286dffd52
docs
2017-07-01 12:15:45 -03:00
Carlos Alexandro Becker
059942124a
moved naming logic to another pkg
2017-07-01 12:14:43 -03:00
Carlos Alexandro Becker
28cf506e9e
Update ext.go
2017-06-30 14:21:02 -03:00
Carlos Alexandro Becker
ed5ccf9bdb
wip multiple builds
2017-06-27 19:20:08 -03:00
Carlos Alexandro Becker
21571bef84
Merge remote-tracking branch 'origin/master' into archive
2017-06-22 11:04:21 -03:00
Carlos Alexandro Becker
bd70d5ef42
improved some logs
2017-06-22 10:47:34 -03:00
Carlos Alexandro Becker
b8ff8e9b12
apex log
2017-06-22 10:37:32 -03:00
Carlos Alexandro Becker
1e9e82d926
apex log
2017-06-22 00:09:14 -03:00
Carlos Alexandro Becker
6519681ac2
using goreleaser/archive
2017-06-18 18:30:39 -03:00
Carlos Alexandro Becker
d4182e3a69
moving tar and zip to internal folder
2017-05-13 18:09:42 -03:00
Carlos Alexandro Becker
b2821d7e7f
support globs on archive.files
2017-05-11 00:05:51 -03:00