1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-04 03:11:55 +02:00
Commit Graph

654 Commits

Author SHA1 Message Date
Weslei Juan Moser Pereira
da78747875
feat: Add support for templated release notes, header and footer (#1575)
* Added support to header and footer template

* Add template for release notes
2020-05-31 13:18:48 +01:00
Eduardo Lopez
6645c58114
fix: Brew versioned formulae now supported (#1568) 2020-05-26 14:50:39 +00:00
Carlos Alexandro Becker
5f41640978
chore(deps): bump github.com/goreleaser/nfpm from 1.2.1 to 1.3.0 (#1565)
* chore(deps): bump github.com/goreleaser/nfpm from 1.2.1 to 1.3.0

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

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-26 01:15:20 -03:00
Carlos Alexandro Becker
69c8a502db
chore(deps): bump github.com/golangci/golangci-lint from 1.23.7 to 1.27.0 (#1563)
* chore(deps): bump github.com/golangci/golangci-lint from 1.23.7 to 1.27.0

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-26 00:48:10 -03:00
Carlos Alexandro Becker
501f092811
chore: go doc for extrafiles.Find
refs #1535

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-25 15:18:24 -03:00
Weslei Juan Moser Pereira
c805451de0
feat: Added extra files to blob (#1535)
* Reordered indexes in docs

* Fix customization order

* Implemented extra files

* Added tests for extra files

* Added docs

* Fix test with defaults

* Removed path and folder from extra_files

* Fix scope lint

* Removed dead code

* Removed dead code

* Added test for common package

* Fix linting

* Removed false positive from golangci

* Requested changes
2020-05-25 15:07:40 -03:00
Grachev Mikhail
207ee49853
feat: add support brew dependency types (#1554)
Signed-off-by: Mikhail Grachev <work@mgrachev.com>
2020-05-24 12:10:25 -03:00
Radek Simko
363aa74dcb
feat: Expose semver for snapshots (#1557) 2020-05-24 15:05:49 +00:00
Yoan Blanc
a48ddc3828
feat: allow signing only the source (#1552)
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-05-23 17:39:59 +00:00
6543
b2b418c6a7
chore(deps): bump code.gitea.io/sdk/gitea from v0.11.3 to v0.12.0 (#1546)
* migrate

* gitea sdk v0.11.3 -> 0.12.0

* CI.restart()
2020-05-22 10:21:43 -03:00
Carlos Alexandro Becker
ef19f1610b
fix: windows filenames (#1539)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-21 22:08:54 -03:00
Carlos Alexandro Becker
be1d4d629f
fix: blob: filepath on url (#1521)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-17 13:48:33 -03:00
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
Carlos Alexandro Becker
0cd40a42da
fix: improve docker logs and errors (#1519)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-14 14:28:53 -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
Carlos Alexandro Becker
31fedc4e67
feat: allow to template sign.args (#1493)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-10 12:50:35 -03:00
Carlos Alexandro Becker
0ebd326f71
fix: log message
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-04 10:05:17 -03:00
Radek Simko
6f8db25ec6
fix(pipe/brew): Default to GitHub (#1483) 2020-05-03 14:22:25 -03:00
Carlos Alexandro Becker
39a7dc2ad1
fix: blob data race (#1480)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-29 22:35:48 -03: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
15fd80eded
feat: improve skip-publish behavior (#1474)
* Revert "feat: split brew tap in 2 steps (#1425)"

This reverts commit 5e8882fbb6.

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

* fix: brew generation

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

* feat: improve bucket write

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

* fix: tests

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

* fix: tests

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

* fix: minio test

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

* fix: lint issues

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

* fix: lint issues

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

* fix: err handling

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-29 15:09:00 -03:00
Carlos Alexandro Becker
705ab90e4f
fix: builds.binary template (#1476)
* fix: builds.binary template

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

* fix: revert

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-29 15:08:06 -03:00
Carlos Alexandro Becker
eedfc6525d
chore: add debug log to scoop
copied from #1464

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-27 21:51:05 -03:00
Carlos Alexandro Becker
75c373bdf2
fix: docker logs
refs #1462

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-21 19:08:27 -03:00
Carlos Alexandro Becker
a39329f1b3
chore(deps): bump github.com/xanzy/go-gitlab from 0.29.0 to 0.31.0 (#1459)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-04-21 19:24:28 +00:00
Carlos Alexandro Becker
fc1ef8a2a2
fix: scoop wrap_in_directory (#1458)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-21 16:11: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
Aggelos Kolaitis
20e3718a56
fix: snap package apps with multiple binaries (#1449) 2020-04-17 17:24:32 +00:00
Lee Briggs
daa4501568
fix: correct the spelling of "snapshotting" (#1450)
Small and relatively insignificant change, but the correct spelling is
with two "t's"

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-04-17 14:08:34 +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
Carlos Alexandro Becker
34c8fd4724
fix: better shellwords on hooks (#1437)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-12 14:12:53 -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
Radek Simko
5027d4bdfe
test: Allow tests to run in parallel without failing (#1429)
All tests share the same environment (hence variable namespace too)
and setting & reading the same variables has lead to race conditions
which are being fixed by using different variables in each test.

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-04-12 11:16:05 -03:00
Radek Simko
cfa0cc2d2a
feat(pipe/build): Report hook error in addition to stdout (#1430)
This helps in situations where hook couldn't run at all,
e.g. because of insufficient permissions.

Previously such failure would only be reported as
empty stdout/stderr output - this allows exposure
of the real root cause.
2020-04-12 10:44:12 -03:00
Carlos Alexandro Becker
e580a18382
fix: brew no token (#1434)
* fix: remove useless log

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

* fix: brew no token

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

* fix: add a warn

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-12 10:43:33 -03:00
Carlos Alexandro Becker
5e8882fbb6
feat: split brew tap in 2 steps (#1425)
* feat: split brew tap in 2 steps

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

* refactor: improve env

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

* fix: loop

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-04-09 13:28:58 +00:00
matthiasng
dec22cf0c8
fix: scoop binary names (#1420) 2020-04-02 21:59:01 +00: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
Carlos Alexandro Becker
375109acd7
fix: improve code a bit
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-31 10:34:06 -03:00
Carlos Alexandro Becker
7661587a9e
fix: do not wrap err if its nil
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-31 10:30:16 -03:00
Carlos Alexandro Becker
cca25688d0
refactor: simplify retries (#1407)
* fix: simplify retries

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

* fix: simplify retries

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

* fix: simplify retries

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

* chore: syntax

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-31 10:16:37 -03:00
Carlos Alexandro Becker
fa608c302e
fix: build.binary and artifact.extra.binary (#1399)
* fix: build.binary and artifact.extra.id

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

* fix: scoop usage of extra[binary]

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

* fix: unlock
2020-03-28 15:40:16 -03:00
Carlos Alexandro Becker
0736162d5e
fix: do not retry upload if file already exists (#1390)
* fix: do not retry upload if file already exists

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

* fix: logs

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

* fix: gitea client

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

* fix: godocs

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-22 17:03:31 -03:00
Carlos Alexandro Becker
6519be8dfb
test: added back removed case
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-22 16:32:08 -03: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
22c9e04efd
feat: allow to use Release and Epoch on nfpm name template (#1396)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-22 13:54:47 -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
Carlos Alexandro Becker
81417ea989
feat: improve output a bit (#1380)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-06 01:25:09 -03:00
Carlos Alexandro Becker
5efb690d1c
fix: fail if cant guess project name (#1378)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 16:03:05 -03:00
Carlos Alexandro Becker
9ba04398a2
feat: support freebsd/arm64 and openbsd/arm64 (#1377)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 16:01:57 -03:00
Carlos Alexandro Becker
70c9e291ce
fix: http.target template (#1371)
* fix: http.target template

refs #1357

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

* fix: remove unused struct

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

* fix: test

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

* fix: tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 01:45:05 -03:00
Carlos Alexandro Becker
02042937ec
feat: upgrade to go 1.14 (#1372)
* feat: upgrade to go 1.14

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

* fix: tests

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

* fix: test

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

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 01:24:51 -03:00
Carlos Alexandro Becker
2e69fa0667
fix: snapcraft: do not push when skip publish (#1374)
* fix: snapcraft: do not publish when skip publish

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

* fix: snapcraft: do not publish when skip publish

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-04 01:14:40 -03:00
Carlos Alexandro Becker
969fb4b804
feat: templateable archive.files (#1373)
* feat: support variable substitution in archive.files

* Update internal/pipe/archive/archive.go

* feat: templateable archive.files

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

* docs: templateable archive.files

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

Co-authored-by: Robbie Ostrow <ostrowr@users.noreply.github.com>
2020-03-04 00:52:43 -03:00
Carlos Alexandro Becker
ad94dbc64d
fix: nfpm id
refs #1357

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-27 09:45:12 -03:00
Craig Furman
61fb8f50cc
fix: infer project name from GitLab/Gitea release (#1364) 2020-02-26 09:38:07 -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
Ben Kochie
7625a70812
fix: Use go mod download (#1345)
Recommend using `go mod download` rather than `go mod tidy` for fetching
dependencies. The `tidy` function is used to update things and chagnes
the dependency graph. Using the `download` function avoids any changes.

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-02-17 09:13:28 -03:00
Carlos Alexandro Becker
a099acf5f5
fix: snap autocompletions (#1346)
closes #1343

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-17 09:12:32 -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
Carlos Alexandro Becker
1435e2bcc5
refactor: lint issues, style
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-05 22:10:16 -03:00
Carlos Alexandro Becker
d85fff06a2
fix gomips support (#1331)
* wip: fix gomips

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

* wip: fix gomips

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

* test: added more

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

* test: added more

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-05 22:08:18 -03:00
Nate Smith
16fe0ea3bf
feat: add ability to skip prereleases for scoop pipeline (#1332) 2020-02-05 22:05:43 -03:00
hackerman
ca3a63a537
feat: use CI environment variables to figure out tag (#1327)
* fix(git): Use CI envronment variables to figure out tag

This patch detects CI environments and uses the available tag information when
collecting the git tag.

This resolves issues where one commit has multiple tags.

Closes #1163
Closes #1311

* Update www/content/release.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Update www/content/release.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Update www/content/build.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* Update www/content/release.md

Co-Authored-By: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* feat(doc): Document git tag override in environment

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-01-31 15:38:56 -03:00
Dave Wongillies
21df6b816f
fix: use long git arg for quiet (#1325) 2020-01-31 00:20:36 -03:00
Carlos Alexandro Becker
a4c91105b5
fix: snap with empty apps name
refs #1267

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-30 10:57:07 -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
Carlos Alexandro Becker
f1fc2c03bd
fix: lint
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-26 12:24:00 -03:00
Jared Folkins
eb528971b9 fix: allow snapcraft apps: directive to use custom commands (#1267)
* enhc: allow snapcraft apps: directive to utilize custom commands, defaults to binary name if no apps: are specified

* refactor: snapcraft tests

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-01-26 12:23:08 -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
c63a57eaa0
fix: do not set default builds
closes https://github.com/goreleaser/goreleaser/issues/1294

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-08 09:38:14 -03:00
Carlos Alexandro Becker
f4d4dc65ec
refactor: simplify code
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-01-07 22:55:39 -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
60f4fe7d2d
feat: moved sign log to info and stream output (#1276)
* fix: moved sign log to info

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

* feat: stream cmd output

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

* chore: fmt

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

* fix: log writer

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

* fix: log

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

* fix: wait already closes

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

* fix: wait for wg first

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

* fix: use lib

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

* fix: version

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-27 11:55:15 -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
8274bf1f03
fix: brew: do not really depends on release (#1252)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-20 09:45:53 -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
173edbac54
feat: change default snapshot version template (#1248)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-15 18:23:25 -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
Quim Muntal
1cf86b86f6 feat: Add support for c-shared and c-archive build modes in windows (#1243)
* add hardcoded .dll and .lib extensions

* chore: remove unnecessary else case
2019-11-15 10:43:40 -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
fdfe0487df
chore: fixed spelling (#1239)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-12 11:51:27 -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
Gustavo Chaín
3d95590238 feat: add basic string function to template (#1232) 2019-11-07 14:49:36 -03:00
Ludovic Fernandez
5102c8a29a fix: update code.gitea.io/sdk/gitea (#1220)
* fix: invalid pseudo version for github.com/go-macaron/cors

* chore: use go1.13

* chore: update code.gitea.io/sdk/gitea

* go mod tidy
2019-10-28 22:33:01 -03:00
Carlos Alexandro Becker
449ed95bbe
Revert "fix: getTag return incorrect tag, if we have more than 1 tag for 1 commit (#1164)"
This reverts commit 2403a40979.
2019-10-21 09:09:11 -03:00
Carlos Alexandro Becker
4e71977e34
Revert "feat: git diff when dirty (#1178)"
This reverts commit 39d07c375d.
2019-10-20 11:10:31 -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
2cc40fad1e
fix: update nfpm
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-12 16:42:54 -03:00
Carlos Alexandro Becker
21843b5a90
ci: fix linter issues
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-09 16:07:51 -03:00
Andrii Soldatenko
2403a40979 fix: getTag return incorrect tag, if we have more than 1 tag for 1 commit (#1164)
* fix strategy of getting latest tag

* add git -c "versionsort.suffix=-"

* fix test

* fix tests

* add more details about change
2019-10-07 13:58:19 -03:00
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