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