1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-09-30 22:11:14 +02:00
Commit Graph

189 Commits

Author SHA1 Message Date
dependabot-preview[bot]
4bf2575c1c
chore(deps): bump github.com/golangci/golangci-lint from 1.33.0 to 1.34.0 (#271)
* chore(deps): bump github.com/golangci/golangci-lint

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.33.0...v1.34.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* fix: linting issues

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

* fix: simplify golangci-lint config

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

* fix: simplify golangci-lint config

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-29 12:29:59 -03:00
Carlos Alexandro Becker
d9430e7c38
feat: update deps (#270)
* feat: update deps

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

* fix: replace

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-25 20:29:34 -03:00
Carlos Alexandro Becker
19817233b5
feat: remove deprecated options (#267)
* feat: remove deprecated options

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

* test: fixing

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

* fix: configs

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

* fix: tempdir

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

* fix: fmt

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

* feat: go 1.15

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

* test: fix

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

* test: fix

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

* test: fix

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

* fix: tests

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

* refactor: test

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

* fix: lint

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

* fix: import

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

* fix: test

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

* fix: symlink

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-22 21:28:32 -03:00
Dj Gilcrease
df152db001
fix: RPM Verify signature: BAD PARAMETERS when installing from a repo, but not a local file (#266)
* chore: reporoduce the issue in acceptance tests

* fix: use patched version of rpmpack until upstream MR is merged
2020-12-22 08:23:11 -03:00
Dj Gilcrease
8535159b05
fix: ensure nfpm can run on windows and still build correct rpm, deb, and apk packages (#262)
* fix: ensure nfpm can run on windows and still build correct rpm, deb, and apk packages

fix: add windows test job

* fix: ensure file close happens in the correct order on windows

* fix: ensure eol is set to lf

* chore: update the go version to be consistent between windows and ubuntu

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

* chore: update comments

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

* chore: rerun make deps

* chore: fix .gitattributes to ensure images are not touched

* chore: run make fmt

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-12-09 18:28:30 +00:00
dependabot-preview[bot]
1d6d639023
chore(deps): bump github.com/goreleaser/fileglob from 0.3.0 to 0.3.1 (#264)
Bumps [github.com/goreleaser/fileglob](https://github.com/goreleaser/fileglob) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/goreleaser/fileglob/releases)
- [Commits](https://github.com/goreleaser/fileglob/compare/v0.3.0...v0.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-09 08:37:45 -03:00
wwade
738ac8b236
test: Intergate and test rpmpack ghost file fix (#261)
Bump github.com/google/rpmpack to integrate the ghost file handling
fix [google/rpmpack 52].

Updated the TestRPMGhostFiles fix to test the updated
functionality. Now, we expect that the files are listed in the RPM
header, but without any cpio content.

This is an extension of PR #246.

[google/rpmpack 52]: https://github.com/google/rpmpack/pull/52

Co-authored-by: wwade <wwade@users.noreply.github.com>
2020-12-08 18:37:51 -03:00
dependabot-preview[bot]
8dc2e90ae1
chore(deps): bump github.com/golangci/golangci-lint from 1.32.2 to 1.33.0 (#257)
* chore(deps): bump github.com/golangci/golangci-lint

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.32.2 to 1.33.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.32.2...v1.33.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* fix: lint

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-27 02:17:14 +00:00
dependabot-preview[bot]
c3cf153499
chore(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 (#259)
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.3.0...v2.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-26 10:30:04 -03:00
dependabot-preview[bot]
942f8f57be
chore(deps): bump github.com/Masterminds/semver/v3 from 3.1.0 to 3.1.1 (#258)
Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/Masterminds/semver/releases)
- [Changelog](https://github.com/Masterminds/semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Masterminds/semver/compare/v3.1.0...v3.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-24 09:21:11 -03:00
Carlos Alexandro Becker
105a426161
chore(deps): bump github.com/golangci/golangci-lint from 1.31.0 to 1.32.2 (#251)
* chore(deps): bump github.com/golangci/golangci-lint from 1.31.0 to 1.32.2

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

* fix: errors.is

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

* fix: typo

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

* fix: typo

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

* test: fix

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-10 10:35:00 -03:00
Carlos Alexandro Becker
f287ec7320 chore: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-10 09:32:33 -03:00
dependabot-preview[bot]
91af31675a
chore(deps): bump github.com/goreleaser/fileglob from 0.2.1 to 0.3.0 (#250)
Bumps [github.com/goreleaser/fileglob](https://github.com/goreleaser/fileglob) from 0.2.1 to 0.3.0.
- [Release notes](https://github.com/goreleaser/fileglob/releases)
- [Commits](https://github.com/goreleaser/fileglob/compare/v0.2.1...v0.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-10 09:30:21 -03:00
dependabot-preview[bot]
d0b3637e61
chore(deps): bump github.com/goreleaser/chglog from 0.1.1 to 0.1.2 (#249)
Bumps [github.com/goreleaser/chglog](https://github.com/goreleaser/chglog) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/goreleaser/chglog/releases)
- [Changelog](https://github.com/goreleaser/chglog/blob/master/.goreleaser.yml)
- [Commits](https://github.com/goreleaser/chglog/compare/v0.1.1...v0.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-10 09:22:23 -03:00
Carlos Alexandro Becker
a83e6466a0
feat: replace glob library (#244)
* feat: replace glob library

BREAKING CHANGE: may have unintended side-effects.

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

* fix: delimiter and patterns starting with ./

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

* fix: use fileglob

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

* test: fixed some wrong tests

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>
2020-11-08 17:09:12 -03:00
Erik Geiser
6b9ef195fb
fix: upgrade zglob (#234)
* chore: Update zglob.

* test: Use dnf instead of yum.

* test: Test escaped braces in globs.
2020-10-23 07:39:36 -03:00
github-actions[bot]
1666d2e168
chore(deps): go mod tidy (#228)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-09-19 10:13:25 -03:00
Erik G
c9bc9c6cd4
chore: Use upstream rpmpack. (#227) 2020-09-19 10:02:15 -03:00
github-actions[bot]
98376ea1dc
chore(deps): go mod tidy (#225)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-09-17 09:40:10 -03:00
Erik G
285a6bcaea
feat: Package Signing (#224)
* feat: Add initial openpgp signing capability.

* refactor: Rename signatures to sigs and expose verify method.

* feat: Add debsigs support.

* test: Add debsigs acceptance test.

* feat: Add RSA signing capability.

* feat: Add RPM signature support.

* test: Add RPM signature acceptance test.

* test: Move acceptance test keys in dedicated folder.

* feat: Add APK signature support.

* test: Add APK signature acceptance test.

* feat: Expose deb signature type in config.

* fix: Fix typo and superfluous explicit error check

* fix: Fix password env extraction and add tests.

* fix: Redirect rpmpack to temporary goreleaser vendoring.

* fix: Catch missing maintainer email if no apk key name is set.

* refactor: Put signature info in a dedicated struct.

* doc: Add signing documentation.

* fix: Add trailing newlines to some files and remove unnecessary comment.

* fix: Change wrong references from SHA256 to SHA1 in the sign package.

* fix: Improve error wording when no passphrase was provided.

* fix: Remove another SHA256 reference.

* fix: Fix signature errors.

* test: Split up environment variable test.

* fix: Don't parse passphrase from YAML.

* deps: Update redirected rpmpack.

* fix: Export and use signature related error type.

* doc: Document ErrSigningFailure.

* test: Fix apk signature error test.

* test: Add rpm signature error test.
2020-09-17 09:18:44 -03:00
github-actions[bot]
730f13d2e6
chore(deps): go mod tidy (#222)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-09-11 15:43:26 -03:00
dependabot-preview[bot]
7efe0c452b
chore(deps): bump github.com/golangci/golangci-lint (#221)
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.30.0 to 1.31.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.30.0...v1.31.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-08 10:15:32 -03:00
github-actions[bot]
511a167ede
chore(deps): go mod tidy (#206)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-12 09:14:11 -03:00
dependabot-preview[bot]
be82ba473b
chore(deps): bump github.com/imdario/mergo from 0.3.10 to 0.3.11 (#204)
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo) from 0.3.10 to 0.3.11.
- [Release notes](https://github.com/imdario/mergo/releases)
- [Commits](https://github.com/imdario/mergo/compare/v0.3.10...v0.3.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-12 09:12:47 -03:00
github-actions[bot]
0b887c9f58
chore(deps): go mod tidy (#196)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-04 14:46:03 -03:00
Erik G
6d8f3f4a44
feat: Support RPM %config(noreplace) files. (#186) 2020-08-04 14:44:13 -03:00
github-actions[bot]
c5ca9a5d26
chore(deps): go mod tidy (#194)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-04 10:13:25 -03:00
Carlos Alexandro Becker
a80e10dea3
refactor: internal/files (#191)
* refactor: internal/files

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

* fix: lint issues

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-08-04 10:11:03 -03:00
github-actions[bot]
78049027c1
chore(deps): go mod tidy (#192)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-04 00:57:45 -03:00
dependabot-preview[bot]
c98d9bc176
chore(deps): bump github.com/golangci/golangci-lint from 1.29.0 to 1.30.0 (#190)
* chore(deps): bump github.com/golangci/golangci-lint

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.29.0 to 1.30.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.29.0...v1.30.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* fix: lint

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-08-04 03:18:44 +00:00
github-actions[bot]
7f548c9442
chore(deps): go mod tidy (#177)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-21 09:47:05 -03:00
Carlos Alexandro Becker
f4f48fc1f9 chore(deps): update rpmpack and chglog
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-21 09:45:29 -03:00
github-actions[bot]
544f998313
chore(deps): go mod tidy (#175)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-21 09:38:53 -03:00
dependabot-preview[bot]
c0e2a5544b
chore(deps): bump github.com/golangci/golangci-lint (#173)
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.28.3 to 1.29.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.28.3...v1.29.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-21 09:24:23 -03:00
dependabot-preview[bot]
234662956a
chore(deps): bump github.com/mattn/go-zglob from 0.0.2 to 0.0.3 (#174)
Bumps [github.com/mattn/go-zglob](https://github.com/mattn/go-zglob) from 0.0.2 to 0.0.3.
- [Release notes](https://github.com/mattn/go-zglob/releases)
- [Commits](https://github.com/mattn/go-zglob/compare/v0.0.2...v0.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-21 09:24:14 -03:00
github-actions[bot]
8ac27fcf4e
chore(deps): go mod tidy (#172)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-20 11:22:40 -03:00
dependabot-preview[bot]
75c7222d4f
chore(deps): bump github.com/imdario/mergo from 0.3.9 to 0.3.10 (#171)
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo) from 0.3.9 to 0.3.10.
- [Release notes](https://github.com/imdario/mergo/releases)
- [Commits](https://github.com/imdario/mergo/compare/v0.3.9...v0.3.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-20 10:41:08 -03:00
Erik G
d2e9097ac5
feat(#42): Support Changelogs (#158)
Co-authored-by: Dj Gilcrease <d.gilcrease@f5.com>

Co-authored-by: Dj Gilcrease <d.gilcrease@f5.com>
Co-authored-by: Erik Geiser <erik.geiser@redteam-pentesting.de>
2020-07-13 15:10:03 +00:00
github-actions[bot]
6811a3a0c5
chore(deps): go mod tidy (#168)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-13 09:58:50 -03:00
dependabot-preview[bot]
060f098c98
chore(deps): bump github.com/golangci/golangci-lint (#167)
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.28.2 to 1.28.3.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.28.2...v1.28.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-13 09:39:20 -03:00
Carlos Alexandro Becker
c939cac13b fix: update rpmpack
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-11 10:34:43 -03:00
github-actions[bot]
462adad8f0
chore(deps): go mod tidy (#165)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-10 10:21:43 -03:00
dependabot-preview[bot]
2f9461c7c0
chore(deps): bump github.com/golangci/golangci-lint (#164)
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.28.1 to 1.28.2.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.28.1...v1.28.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-10 10:01:00 -03:00
Carlos Alexandro Becker
397d266f18
feat: allow creating meta packages (#159)
* feat: allow creating meta packages

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

* fix: rpm pack meta

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

* test: added acceptance tests

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-10 02:05:33 -03:00
github-actions[bot]
9b6e3c4260
chore(deps): go mod tidy (#162)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-09 11:33:53 -03:00
dependabot-preview[bot]
e328bafa20
chore(deps): bump github.com/golangci/golangci-lint from 1.27.0 to 1.28.1 (#155)
* chore(deps): bump github.com/golangci/golangci-lint

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.27.0 to 1.28.1.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.27.0...v1.28.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* fix: ignore gofumpt

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-09 10:25:24 -03:00
Carlos Alexandro Becker
b93ff6f946
feat: update rpmpack (#160)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-09 10:15:41 -03:00
github-actions[bot]
8ebc6557ae
chore(deps): go mod tidy (#150)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-06-08 10:07:55 -03:00
dependabot-preview[bot]
a89d2c68e7
chore(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1 (#149)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.0...v1.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-08 09:52:56 -03:00
dependabot-preview[bot]
68cb71dc9a
chore(deps): bump github.com/mattn/go-zglob from 0.0.1 to 0.0.2 (#147)
Bumps [github.com/mattn/go-zglob](https://github.com/mattn/go-zglob) from 0.0.1 to 0.0.2.
- [Release notes](https://github.com/mattn/go-zglob/releases)
- [Commits](https://github.com/mattn/go-zglob/compare/v0.0.1...v0.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-04 10:39:26 -03:00
dependabot-preview[bot]
f6731b49bf
chore(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0 (#145)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-05-29 09:46:53 -03:00
github-actions[bot]
91897873d1
fix: go mod tidy (#140)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-05-14 12:53:30 +00:00
dependabot-preview[bot]
6f9fccf78f
chore(deps): bump github.com/golangci/golangci-lint from 1.26.0 to 1.27.0 (#139)
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/golangci/golangci-lint/compare/v1.26.0...v1.27.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 12:35:45 +00:00
github-actions[bot]
5015b563b3
fix: go mod tidy (#138)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-05-13 16:55:04 -03:00
dependabot-preview[bot]
8308135581
chore(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 (#135)
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.8 to 2.3.0.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.8...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-13 16:36:39 -03:00
Carlos Alexandro Becker
2768948b4e
feat: update golangci-lint (#137)
* fix: golangci-lint

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

* feat: update golangci-lint

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

* fix: docs

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

* fix: lint issues

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>

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-13 16:24:06 -03:00
dependabot-preview[bot]
e0254b2770
chore(deps): bump github.com/Masterminds/semver/v3 from 3.0.3 to 3.1.0 (#128)
Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/Masterminds/semver/releases)
- [Changelog](https://github.com/Masterminds/semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Masterminds/semver/compare/v3.0.3...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-17 11:01:11 -03:00
dependabot-preview[bot]
258c6ad70a
chore(deps): bump github.com/imdario/mergo from 0.3.8 to 0.3.9 (#124)
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo) from 0.3.8 to 0.3.9.
- [Release notes](https://github.com/imdario/mergo/releases)
- [Commits](https://github.com/imdario/mergo/compare/v0.3.8...v0.3.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-25 09:10:24 -03:00
Carlos Alexandro Becker
b065c0c72e
fix: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-03-11 09:14:30 -03:00
dependabot-preview[bot]
4bb8f58133
chore(deps): bump github.com/stretchr/testify from 1.5.0 to 1.5.1 (#121)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 09:54:06 -03:00
dependabot-preview[bot]
974cbd8435
chore(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.0 (#120)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 10:19:25 -03:00
Carlos Alexandro Becker
fafd3623be
fix: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-02-18 10:50:40 -03:00
astorath
4c6511a854
feat: version release/prerelease options (#111)
* feat: version release/prerelease options

* fix: review

* fix: lint

* fix: damn linters

* fix: acceptance tests

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-02-18 10:49:10 -03:00
dependabot-preview[bot]
ebe75b08de
chore(deps): bump gopkg.in/yaml.v2 from 2.2.7 to 2.2.8 (#118)
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.7...v2.2.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-18 10:16:01 -03:00
dependabot-preview[bot]
690f627895 chore(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1 (#116)
Bumps [github.com/pkg/errors](https://github.com/pkg/errors) from 0.8.1 to 0.9.1.
- [Release notes](https://github.com/pkg/errors/releases)
- [Commits](https://github.com/pkg/errors/compare/v0.8.1...v0.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-15 17:24:42 -03:00
Marc Sauter
5125453b31 fix: make epoch work again (#114)
* add epoch

* tests for epoch added

* tests for invalid epoch added
2019-12-31 11:55:19 -03:00
Carlos Alexandro Becker
c01a9d3316
fix: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-12-22 14:59:45 -03:00
dependabot-preview[bot]
e3dbdd0fd1 chore(deps): bump github.com/Masterminds/semver/v3 from 3.0.2 to 3.0.3 (#112)
Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/Masterminds/semver/releases)
- [Changelog](https://github.com/Masterminds/semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Masterminds/semver/compare/v3.0.2...v3.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-22 14:57:34 -03:00
Carlos Alexandro Becker
6ef61041eb
fix: bump rpmpack (#110)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-24 11:24:43 -03:00
Carlos Alexandro Becker
96fe04ee46
fix: tidy deps
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-20 13:18:13 -03:00
dependabot-preview[bot]
ce77a2cbc8 chore(deps): bump github.com/Masterminds/semver/v3 from 3.0.1 to 3.0.2 (#106)
Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/Masterminds/semver/releases)
- [Changelog](https://github.com/Masterminds/semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Masterminds/semver/compare/v3.0.1...v3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-20 13:17:54 -03:00
dependabot-preview[bot]
c8eb33b40d chore(deps): bump gopkg.in/yaml.v2 from 2.2.5 to 2.2.7 (#107)
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.5 to 2.2.7.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.5...v2.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-20 13:13:51 -03:00
Carlos Alexandro Becker
f5f0a26477
fix(rpm): build time and build host
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-06 11:54:35 -03:00
dependabot-preview[bot]
1b1448f9f8 chore(deps): bump gopkg.in/yaml.v2 from 2.2.4 to 2.2.5 (#102)
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.4...v2.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-05 09:41:43 -03:00
Carlos Alexandro Becker
92cd25d767
fix(rpm): with defaults: fix version and pre-release (#101)
* fix(rpm): replace - with _ on version

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

* fix(rpm): version

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-05 09:38:13 -03:00
Carlos Alexandro Becker
2dea0cedb8
fix(rpm): desc, summary and group (#99)
* fix(rpm): desc, summary and group

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

* test: added test cases

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-04 23:56:18 -03:00
Carlos Alexandro Becker
93fbef5015
chore(deps): tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-01 11:54:51 -03:00
Carlos Alexandro Becker
98a9b28f6f
chore(deps): update rpmpack
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-11-01 11:43:06 -03:00
Carlos Alexandro Becker
7cc6be1c6b
fix: rpm groups (#92)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-23 14:03:35 -03:00
Dj Gilcrease
b47eac0b54
Merge pull request #85 from djgilcrease/bugfix/issue-50
fix: parse the version as a semver
2019-10-09 18:11:58 -07:00
Carlos Alexandro Becker
d29b42a9de
clean: remove last mentions to rpmbuild (#84)
* clean: remove last mentions to rpmbuild

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

* fix: goproxy

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-09 16:30:17 -03:00
Dj Gilcrease
03193b2ab0 feat: provide more field support for rpms (#79)
* fix: properly add the PostRemove script, not the PostInstall script

* feat: provide more field support for rpms

New RPM fields
---
* Description
* OS <= info.Platform
* Licence
* URL <= info.Homepage
* Vendor
* Packager <= info.Maintainer
* Provides
* Require <= info.Depends
* Obsolete <= info.Replaces
* Suggests
* Conflicts

Fixes
---
* RPM Compression types are supported again
* RPM Config files are supported again
  * `rpmpack` will support all the rpm file types, so we could extend this more latter

* chore: disable wsl (a new linter in 1.20.x got golangci-lint) until we decide to enable it

* chore: address PR comments
2019-10-09 16:10:05 -03:00
Carlos Alexandro Becker
7a174b2de1
bump: deps (#81)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-05 09:46:58 -03:00
renovate[bot]
d3e2c4f776 chore(deps): update github.com/alecthomas/units commit hash to f65c72e (#73) 2019-10-03 09:39:16 -03:00
renovate[bot]
aa2f99138a chore(deps): update github.com/google/rpmpack commit hash to 4fb3ac7 (#74) 2019-10-03 09:38:48 -03:00
Carlos Alexandro Becker
793528c997
fix: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-09-10 15:03:53 -03:00
Dj Gilcrease
55c08981e6 feat: create RPM without rpmbuild (#67)
* feat(40): Create RPM without rpmbuild

* chore: update go.mod to remove the replace section now that the dependent MR has been merged
2019-09-10 15:01:43 -03:00
Carlos Alexandro Becker
20c1238eec
fix: build, tidy 2018-10-30 23:30:54 -03:00
Carlos Alexandro Becker
9bd8145ab5 chore: go modules 2018-10-29 09:34:39 -03:00