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

654 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
39d07c375d
feat: git diff when dirty (#1178)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 17:56:53 -03:00
Carlos Alexandro Becker
622254a7df
test: increase github client test coverage (#1179)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 17:56:34 -03:00
Carlos Alexandro Becker
423308443c
fix: reject docker.files as . or inside dist (#1175)
* fix: reject docker.files as . or inside dist

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

* fix: deprecated method

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 17:09:51 -03:00
Carlos Alexandro Becker
792b883f59
fix: docker: skip push skips other builds (#1177)
* fix: skip aware semerrgroup

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

* fix: docker: skip push skips other builds

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 15:53:38 -03:00
Carlos Alexandro Becker
d338cf7285
fix: skip aware semerrgroup (#1176)
* fix: skip aware semerrgroup

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

* fix: skip aware semerrgroup

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 14:58:33 -03:00
Carlos Alexandro Becker
50235f2974
chore(deps): bump all (#1174)
* chore(deps): bump

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

* chore(deps): bump semver

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

* chore(deps): bump cors

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-06 12:39:53 -03:00
Pierre Fersing
e6c8682738 Use Version instead of Git tag to for .deb/.rpm (#1157) 2019-10-05 14:58:46 -03:00
matt maier
9b5df03c09 feat: support additional GOOS/GOARCH targets (#1162)
* feat: support illumos amd64 target

* feat: support other missing targets
2019-10-01 16:25:13 -03:00
Carlos Alexandro Becker
9d5f36f21b
feat: wasm support (#1159)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-01 16:00:44 -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
eb1a122199
fix: lint issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-09-23 18:15:57 -03:00
Carlos Alexandro Becker
da04434939
docs: added TODO 2019-09-09 09:42:11 -03:00
Dawid Dziurla
ccbd79250e fix: actually support arm (#1140) 2019-09-09 09:34:52 -03:00
Luit van Drongelen
705f66d258 fix: copy into DockerImage Artifact (#1134)
Since #1110 the artifacts are passed by reference, causing the previous
code to edit the Artifact in place, _and_ add it to the list.

Fixes: #1133
2019-09-03 13:27:16 -03:00
Carlos Alexandro Becker
c2918e4eec
fix: improve error msg
closes  #1103

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-31 10:29:24 -03:00
Carlos Alexandro Becker
7cb8d622f5
fix: race condition on brew pipe (#1121)
fixes #1120

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-31 10:27:04 -03:00
Manuel Vogel
2da118a296 fix brew and scoop for disabled release (#1128)
* fix: mod tidy

* fix: skips brew pipe if release is disabled

* fix: skips scoop pipe if release is disabled

* fix: mod tidy
2019-08-28 20:34:09 -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
Grachev Mikhail
1080215876 fix: artifact fields not available to flags (#1118) 2019-08-14 10:07:00 -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
Grachev Mikhail
de5676e833 feat: support arm for linuxbrew (#1113) 2019-08-13 13:37:10 -03:00
Grachev Mikhail
4100f65d71 test: add error handling (#1111)
closes #1047
2019-08-13 10:28:03 -03:00
Grachev Mikhail
7a2b332554 clean: remove unused code (#1112) 2019-08-13 10:24:17 -03:00
Carlos Alexandro Becker
b477ffa095
refactor: pointer to artifact (#1110)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-12 17:44:48 -03:00
exfly@gper
9c675218ad &base always not nil (#1105) 2019-08-10 10:35:20 -03:00
Carlos Alexandro Becker
36b190490f
test: fix race
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-09 11:05:07 -03:00
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