1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-31 01:53:50 +02:00
Commit Graph

446 Commits

Author SHA1 Message Date
Radek Simko
983f342ab8
feat: Add build command (#1520)
* feat: Add build command

* feat(cmd/build): Add skip-post-hooks flag

* Update internal/pipeline/pipeline.go

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-05-15 11:19:20 -03:00
Radek Simko
8749030d3b
feat: Add support for custom publishers (#1481)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-05-10 16:03:49 +00:00
Zach Leslie
0f7ff6247b
feat(scoop): provide config option to change commit message (#1467)
Without this change, users unable to control the resulting commit message of the
scoop update.  In some environments this may present an issue with commit
linters that require a specific commit message format in order to build proper
change logs and make decisions.  Here we include a Scoop config option to use a
format string provided by the user during the commit.
2020-04-29 17:45:18 -03:00
Carlos Alexandro Becker
2f16c4c653
feat: remove deprecated nfpm options and puts (#1442)
also updated docs

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-19 19:54:07 -03:00
J Taylor
081430bcc7
feat: xz compression (#1422)
* feat: xz compression

* remove .xz feature

* fix: format code with gofmt

* use larger dict for better compression

* Update pkg/archive/tarxz/tarxz.go

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-04-13 12:53:03 +00:00
Carlos Alexandro Becker
a5f0343368
feat: improve check command (#1435)
* feat: improve check command

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

* fix: main test

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

* fix: tests

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

* fix: tests, finally

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

* fix: lint

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-12 14:31:35 -03:00
Radek Simko
8032d12052
feat(pipe/build): Add support for flexible build hooks (#1414) 2020-04-12 12:13:20 -03:00
Carlos Alexandro Becker
7fe4d0ae79
feat: upload source archive (#1379)
* feat: upload source archive

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

* fix: lint

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-12 11:47:46 -03:00
Leonardo Grasso
1cf9100ecc
feat: build.skip option, support for library projects (#1419)
* fix: checksum pipe will not return an error when artifact list is empty

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>

* new: build.skip option for libraries

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>

* docs: update doc with build.skip option

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
2020-04-02 13:18:05 +00:00
John Taylor
e2ef52032b
feat: use maximum compression for gzip and zip archives (#1416)
* feat: use maximum compression for gzip and zip archives

* fix: add comment for skipping error check

Co-authored-by: John Taylor <ec2-user@ip-172-31-29-117.ap-south-1.compute.internal>
2020-04-01 19:05:20 +00:00
Carlos Alexandro Becker
0126a1f32b
feat: remove deprecated blob and sign (#1397)
* feat: remove deprecated blob and sign

you should now use blobs and signs instead.

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-22 16:26:22 -03:00
Carlos Alexandro Becker
bc64da18ab
fix: default evn tokenfiles (#1389)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-16 12:10:56 -03:00
dotwoo
d03c0aa0be
feat(nfpm): add nfpm release config (#1363)
add config.NFPM.Release  to set  nfpm release
2020-02-26 08:59:52 -03:00
Carlos Alexandro Becker
d7c540523d
feat: upload extra files to the release (#1333)
* feat: upload extra files to the release

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

* fix: retry upload

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

* fix: go mod tidy

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

* fix: globs

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

* fix: globs

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

* fix: typo

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-11 16:10:41 -03:00
Bao Nguyen
dd35f28d51
feat: Add the ability to place artifact name (#1338)
This commit exposes the Artifact name as a template variable so that the
artifact name can be moved around within the `targetURL`. This enable users to
manipulate the target URL as desired in order to pass in PUT parameters that
doesn't always following the currently defined `targetURL` which append the
artifact name to the end.

This is needed to address[1] by enable the ability to add metadata to
Artifactory REST API [2] as the URL parameters, which need to be after the
artifact names.

It's important that this is backward compatible with existing release
configurations so this is an opt-in option, if it's omitted or not set, no
changes to exist configurations. When enabled with `CustomArtifactName=True` as
part of HTTP Upload options `Artifact.Name` will no longer be appended to the
end of TargetURL.

[1]:https://github.com/goreleaser/goreleaser/issues/1336
[2]:https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-Example-DeployinganArtifact
2020-02-10 22:59:57 -03:00
Nate Smith
16fe0ea3bf
feat: add ability to skip prereleases for scoop pipeline (#1332) 2020-02-05 22:05:43 -03:00
Carlos Alexandro Becker
181799c9c8
feat(sign): id, concurrent map (#1321)
* feat(sign): id, concurrent map

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

* fix: more tests

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

* fix: comments

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-30 00:21:45 -03:00
Carlos Alexandro Becker
479798126e
feat: remove deprecated brew config (#1313)
* feat: remove deprecated brew config

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

* fix: wording

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

* fix: wording

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

* fix: defaults

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

* fix: defaults

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

* fix: defaults

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-26 18:36:01 -03:00
Carlos Alexandro Becker
3bfb36355e
feat: support to gomips (#1288)
* feat: support to gomips

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

* fix: prefix

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-26 14:36:00 -03:00
Carlos Alexandro Becker
5f2cf501e8
feat: remove deprecated s3 pipe (#1291)
* feat: remove deprecated s3 pipe

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

* fix: go mod tidy

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-26 12:25:27 -03:00
Tadej Janež
1943d3147b feat: specify (sub)directory with go code when building (#1273) 2020-01-13 14:23:00 -03:00
Carlos Alexandro Becker
8defb77b0e
feat: remove singular archive config (#1282)
* feat: remove singular archive config

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-29 15:02:15 -03:00
Carlos Alexandro Becker
468401bc54
feat: remove singular snapcraft config (#1281)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-27 17:31:03 -03:00
Carlos Alexandro Becker
885a9710e5
feat: remove deprecated nfpm (#1280)
* clean: remove deprecated nfpm

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

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-27 14:51:40 -03:00
Carlos Alexandro Becker
05116ff8e6
feat: added blob.region and blob.disableSSL (#1279)
* feat: added blob.region and blob.disableSSL

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

* fix: simplified url

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-27 14:18:41 -03:00
Carlos Alexandro Becker
6edf6698cb
feat: docker builds filter (#1275)
* feat: docker builds filter

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

* docs: docker builds filter

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

* test: fixed

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-27 11:55:03 -03:00
Carlos Alexandro Becker
2dc3ae3010
feat: fully support all s3 pipe feats on blob (#1253)
* feat: fully support all s3 pipe feats on blob

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

* fix: tidy deps

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

* docs: document endpoint option

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

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-20 13:08:25 -03:00
Carlos Alexandro Becker
b0481a14e0
feat: http POST (#1246)
* feat: http POST

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

* feat: http POST

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

* fix: deprecate

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

* fix: upload tests

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

* fix: artifactory

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

* fix: http username validation

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

* fix: renames

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-18 10:34:17 -03:00
Carlos Alexandro Becker
0953c2f4f7
feat(nfpm): allow to change package name (#1244)
* feat: allow to change package name

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

* fix: typo

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-15 16:00:48 -03:00
Ivan Novikov
16cb4d8277 feat: Added new flags to support release notes header and footer. (#1212)
* Added new flags to support release notes header and footer.

Created two flags for release generation.
--release-footer
--release-header
These flags can help you to add custom changelog text before/after changes that are generated by git log.

* Fix changelog.go to avoid lint errors

* Fix test typo

* Added tests for main, fixed bug with no passing options to release ctx

* Add @caarlos0  suggestions
2019-11-15 10:22:11 -03:00
Carlos Alexandro Becker
4719763c4a
feat: filter by id on sign pipe (#1233)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-08 09:10:56 -03:00
Deavon M. McCaffery
93259b0683 feat(release): add artifact filter (by id) to release pipe (#1203)
* feat(release): add artifact filter (by id) to release pipe

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

* update docs for release
2019-10-19 16:01:11 -03:00
Carlos Alexandro Becker
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
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
dtluna
eb40d8682b feat: gitea release support (#1114)
* adds gitea release support
* closes #1106
2019-08-26 09:31:38 +02: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
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
7cab12cf74
fix: close config file (#1099)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-02 18:20:59 -03:00
Carlos Alexandro Becker
844f95a2d0
fix: pluralize blob in the config file (#1095)
* fix: pluralize blob in the config file

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

* test: added tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-02 16:17:38 -03:00
Carlos Alexandro Becker
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
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
Carlos Alexandro Becker
56c0cf0699
feat: update nfpm (#1063)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-06-29 12:26:01 -03:00
Manuel Vogel
eb7ba2a294 feat: add gitlab for releases (#1038)
* outlines gitlab client integration

* makes client parameter more explicit

* adds gitlab url to config

* changes releaseID to string to adapt to gitlab

* updates to latest gitlab client lib 0.18

* fixes copy paster in gitlab upload func

* fixes gitlab typo in config

* adds gitlab token to env and context

* release now uses the client factory method

* skips brew pipe if it is not a github release

* add github tokentype to publish tests

* skips scoop pipe if it is not a github release

* corrects brew skip msg

* adds gitlab token to main test

* adds gitlab to release docs

* validates config and errors accordingly

* adapt release pipe name to include gitlab

* fixes gitlab client after testing

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

* adds more debug to gitlab client

* adapts changelog generation for gitlab markdown

* adds debug log for gitlab changelog

* env needs to run before changelog pipe

* moves gitlab default download url to default pipe

* moves multiple releases check to from config to release pipe

* release differs now for github and gitlab

* adds debug gitlab release update msgs

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

* adaptes error check on gitlab release creation

* Revert "adaptes error check on gitlab release creation"

This reverts commit 032024571c.

* simplifies gitlab client logic. removes comments

* skips tls verification for gitlab client if specified in config

* updates the docs

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

* fixes copy paster in release.md

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

* updates comment in gitlab client
2019-06-29 11:02:40 -03:00
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
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
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
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
3ec6e5f05b
feat: multiple snapcraft (#1025)
* feat: multiple snapcraft

* test: more tests
2019-05-27 12:47:05 -03:00
Carlos Alexandro Becker
c98d3881f7
refactor: id validations (#1015) 2019-05-07 07:18:35 -03:00
Carlos Alexandro Becker
19ed7564b4
feat: multiple nfpm (#1014)
* feat: multiple nfpm

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

* fix: several things

* test: fixed

* fix: several things

* fix: archive id on the artifact

* fix: deprecated since

* docs: deprecations page improvements
2019-04-16 10:19:15 -03:00
Carlos Alexandro Becker
3d74b1fe8e
chore: removed commented code 2019-04-14 15:28:57 -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
310bf450a8
fix: all envs allowed on build template (#992) 2019-04-09 09:15:05 -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
d2fa6d5821
feat: support gzip format (#959)
* feat: support gzip format

* fix: wrong .gz detection

* docs: gz + multiple build
2019-02-07 12:12:20 -02:00
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
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
e13a3319bb feat: support skip tls on github cli 2019-01-19 18:26:01 -02:00
Carlos Alexandro Becker
59f10ad083 clean: removed deprecated git.short_hash option 2019-01-19 18:14:32 -02:00
Carlos Alexandro Becker
df831077e5 fix: improved semver parsing 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
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
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
Felix Gläske
71abba61c3 feat: set github as pre-release if tag has a pre-release indicator (#871)
* Add check if tag contains indicator for pre release

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

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

brew deprecation:
599ecc9b5a (diff-ad9201cdd3b6f948345629ad812cd5bd)

suggested workaround:
https://github.com/Homebrew/brew/issues/5074#issuecomment-429274286
2018-11-23 10:26:06 -02:00
Carlos Alexandro Becker
18b8be6818 feat: support custom wrap directory
closes #728
2018-11-14 09:50:18 -02:00
Carlos Alexandro Becker
6c349c1759 fix: linter fixes 2018-11-08 09:40:23 -02:00
Carlos Alexandro Becker
6da57e496a chore: goimports 2018-11-06 11:24:57 -02: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
3d87275c09 fix: allow to publish snaps 2018-10-20 17:25:18 -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
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
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
236aabdff5
fix: gosec lint issues 2018-09-04 09:48:22 -03:00
Carlos Alexandro Becker
431c28b2bd
fix: gosec lint issues 2018-09-04 09:26:45 -03:00
Grachev Mikhail
da882e87fc feat: Add persist definition to scoop manifest (#776) 2018-08-25 17:24:42 -03:00
Grachev Mikhail
134e08cc67 feat: Add url template to scoop pipeline (#768) 2018-08-20 22:06:55 -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
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
Julien Duchesne
f0413af071 fix: Zip files were no longer being compressed (#748) 2018-08-06 15:37:37 -03:00
Carlos Alexandro Becker
32fd1e158c
refactor: merging archive in the same repo (#746)
* refactor: merging archive in the same repo

* refactor: merging archive in the same repo
2018-08-05 10:23:39 -03:00