1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-06-02 14:56:22 +02:00
Commit Graph

196 Commits

Author SHA1 Message Date
dependabot[bot] d8ef041667
feat(deps): bump github.com/goreleaser/chglog from 0.4.1 to 0.4.2 (#625)
Bumps [github.com/goreleaser/chglog](https://github.com/goreleaser/chglog) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/goreleaser/chglog/releases)
- [Changelog](https://github.com/goreleaser/chglog/blob/main/.goreleaser.yml)
- [Commits](https://github.com/goreleaser/chglog/compare/v0.4.1...v0.4.2)

---
updated-dependencies:
- dependency-name: github.com/goreleaser/chglog
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-23 09:46:46 -03:00
dependabot[bot] 0ac02bf8ba
feat(deps): bump golang.org/x/net from 0.4.0 to 0.7.0 (#622) 2023-02-18 13:08:17 -03:00
dependabot[bot] 34276432d6
feat(deps): bump github.com/goreleaser/chglog from 0.4.0 to 0.4.1 (#616)
Bumps [github.com/goreleaser/chglog](https://github.com/goreleaser/chglog) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/goreleaser/chglog/releases)
- [Changelog](https://github.com/goreleaser/chglog/blob/main/.goreleaser.yml)
- [Commits](https://github.com/goreleaser/chglog/compare/v0.4.0...v0.4.1)

---
updated-dependencies:
- dependency-name: github.com/goreleaser/chglog
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 08:58:56 -03:00
Carlos Alexandro Becker b55113f671
fix: dependency tree (#615)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-05 11:47:54 -03:00
Carlos Alexandro Becker c17fcccb1f
Revert "feat(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.5.1 to 2.5.2 (#609)" (#613)
This reverts commit fe31c58444.
2023-02-01 19:50:57 -03:00
dependabot[bot] fe31c58444
feat(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.5.1 to 2.5.2 (#609)
Bumps [github.com/ProtonMail/gopenpgp/v2](https://github.com/ProtonMail/gopenpgp) from 2.5.1 to 2.5.2.
- [Release notes](https://github.com/ProtonMail/gopenpgp/releases)
- [Changelog](https://github.com/ProtonMail/gopenpgp/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ProtonMail/gopenpgp/compare/v2.5.1...v2.5.2)

---
updated-dependencies:
- dependency-name: github.com/ProtonMail/gopenpgp/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-27 08:56:05 -03:00
dependabot[bot] d0c64b2137
feat(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.2.2 to 2.5.1 (#607)
Bumps [github.com/ProtonMail/gopenpgp/v2](https://github.com/ProtonMail/gopenpgp) from 2.2.2 to 2.5.1.
- [Release notes](https://github.com/ProtonMail/gopenpgp/releases)
- [Changelog](https://github.com/ProtonMail/gopenpgp/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ProtonMail/gopenpgp/compare/v2.2.2...v2.5.1)

---
updated-dependencies:
- dependency-name: github.com/ProtonMail/gopenpgp/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-26 09:49:54 -03:00
dependabot[bot] 656cf867f9
feat(deps): bump github.com/goreleaser/chglog from 0.2.2 to 0.3.0 (#604)
Bumps [github.com/goreleaser/chglog](https://github.com/goreleaser/chglog) from 0.2.2 to 0.3.0.
- [Release notes](https://github.com/goreleaser/chglog/releases)
- [Changelog](https://github.com/goreleaser/chglog/blob/main/.goreleaser.yml)
- [Commits](https://github.com/goreleaser/chglog/compare/v0.2.2...v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/goreleaser/chglog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 22:36:28 -03:00
dependabot[bot] 32c13de89c
feat(deps): bump github.com/klauspost/compress from 1.15.14 to 1.15.15 (#605)
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.15.14 to 1.15.15.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml)
- [Commits](https://github.com/klauspost/compress/compare/v1.15.14...v1.15.15)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 09:28:32 -03:00
dependabot[bot] b547d33731
feat(deps): bump github.com/klauspost/compress from 1.15.13 to 1.15.14 (#599)
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.15.13 to 1.15.14.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml)
- [Commits](https://github.com/klauspost/compress/compare/v1.15.13...v1.15.14)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 09:51:34 -03:00
dependabot[bot] 4316b600ac
feat(deps): bump github.com/ulikunitz/xz from 0.5.10 to 0.5.11 (#590)
Bumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/ulikunitz/xz/releases)
- [Commits](https://github.com/ulikunitz/xz/compare/v0.5.10...v0.5.11)

---
updated-dependencies:
- dependency-name: github.com/ulikunitz/xz
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 09:46:09 -03:00
dependabot[bot] 1a8876e8bc
feat(deps): bump github.com/klauspost/compress from 1.15.12 to 1.15.13 (#587)
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.15.12 to 1.15.13.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml)
- [Commits](https://github.com/klauspost/compress/compare/v1.15.12...v1.15.13)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 09:29:12 -03:00
dependabot[bot] 61de4b54e0
fix(deps): bump github.com/Masterminds/semver/v3 from 3.1.1 to 3.2.0 (#582)
Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver) from 3.1.1 to 3.2.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.1.1...v3.2.0)

---
updated-dependencies:
- dependency-name: github.com/Masterminds/semver/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-30 09:20:34 -03:00
dependabot[bot] e1d35a1b63
feat(deps): bump github.com/invopop/jsonschema from 0.6.0 to 0.7.0 (#573)
Bumps [github.com/invopop/jsonschema](https://github.com/invopop/jsonschema) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/invopop/jsonschema/releases)
- [Commits](https://github.com/invopop/jsonschema/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/invopop/jsonschema
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 08:35:56 -03:00
dependabot[bot] f649caf8f2
feat(deps): bump github.com/klauspost/compress from 1.15.11 to 1.15.12 (#569)
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.15.11 to 1.15.12.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml)
- [Commits](https://github.com/klauspost/compress/compare/v1.15.11...v1.15.12)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 09:26:52 -03:00
dependabot[bot] 2f0c3d3e9f
feat(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1 (#566)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-25 08:28:55 -03:00
dependabot[bot] db4a4e5bfe
feat(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#565)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 10:46:51 -03:00
dependabot[bot] 249917d3d4
feat(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#557)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-12 19:06:01 -03:00
dependabot[bot] db0ef254fa
feat(deps): bump github.com/klauspost/compress from 1.15.1 to 1.15.11 (#552)
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.15.1 to 1.15.11.
- [Release notes](https://github.com/klauspost/compress/releases)
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml)
- [Commits](https://github.com/klauspost/compress/compare/v1.15.1...v1.15.11)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 13:21:52 +00:00
dependabot[bot] c97c714e61
feat(deps): bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#551)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.8...v0.5.9)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 06:15:55 -07:00
Dj Gilcrease 4db80ebff3
feat: allow env expansion in conflicts, suggests, recommends, depends… (#548)
* feat: allow env expansion in conflicts, suggests, recommends, depends, provides, and replaces. Ensuring empty env vars get stripped to not cause issues
  * added test for boolean dependencies for rpm, deb, and apk.

* fix: fork rpmpack to make it easier to add features and adapt it

* test: fix linter issues

* test: fix ruleguard issues
2022-09-24 10:07:11 -07:00
Carlos Alexandro Becker 437d9ef31a
feat: upgrade to go 1.19 (#542)
* refactor: remove usage of ioutil

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix(ci): actually use go 1.19

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-22 09:39:40 -03:00
Carlos Alexandro Becker f82c040b5e
feat(deps): update to latest chglog (#538)
* feat(deps): update to latest chglog

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: force some deps

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: fix version

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-16 00:04:50 -03:00
Carlos A Becker 47d15255b0
Revert "feat: removing changelog generation"
This reverts commit 816dd05151.
2022-08-10 00:46:47 -03:00
Carlos A Becker 816dd05151
feat: removing changelog generation
breaking change: removing changelog generation from nfpm... users will now have to provide a changelog file/data according to the format they are using

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-10 00:45:33 -03:00
dependabot[bot] 8b0a5bff84
feat(deps): bump github.com/invopop/jsonschema from 0.5.0 to 0.6.0 (#534)
Bumps [github.com/invopop/jsonschema](https://github.com/invopop/jsonschema) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/invopop/jsonschema/releases)
- [Commits](https://github.com/invopop/jsonschema/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/invopop/jsonschema
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 14:04:18 -03:00
dependabot[bot] cdd622ae94
feat(deps): bump github.com/invopop/jsonschema from 0.4.0 to 0.5.0 (#531)
Bumps [github.com/invopop/jsonschema](https://github.com/invopop/jsonschema) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/invopop/jsonschema/releases)
- [Commits](https://github.com/invopop/jsonschema/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/invopop/jsonschema
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-06 09:56:59 -03:00
dependabot[bot] af12d3397c
feat(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#529)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-30 09:45:02 -03:00
dependabot[bot] 912a38e40f
feat(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#526)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-24 10:48:11 -03:00
dependabot[bot] 448a83d0f9
feat(deps): bump github.com/muesli/mango-cobra from 1.1.0 to 1.2.0 (#525) 2022-06-22 08:45:07 -03:00
dependabot[bot] 43adaa0757
feat(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#523)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 09:01:03 -03:00
dependabot[bot] 165e9d0954
feat(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#524)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 08:59:57 -03:00
Carlos Alexandro Becker 488938929f
feat: update jsonschema library (#521)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-06-13 09:25:29 -03:00
dependabot[bot] ab5bb3196b
feat(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#518)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 09:39:21 -03:00
dependabot[bot] 02f972d336
feat(deps): bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1 (#517)
Bumps [gopkg.in/yaml.v3](https://github.com/go-yaml/yaml) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 10:28:58 -03:00
dependabot[bot] 86d9a4f1e0
feat(deps): bump github.com/imdario/mergo from 0.3.12 to 0.3.13 (#513)
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo) from 0.3.12 to 0.3.13.
- [Release notes](https://github.com/imdario/mergo/releases)
- [Commits](https://github.com/imdario/mergo/compare/0.3.12...v0.3.13)

---
updated-dependencies:
- dependency-name: github.com/imdario/mergo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-30 10:34:19 -03:00
Carlos Alexandro Becker 1d42c64b98
feat: use go 1.18 (#483)
* feat: use go 1.18

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

* docs: contrib

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: increase golangci-lint timeout

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-05-23 10:04:59 -03:00
Carlos Alexandro Becker dcf239f316
feat(deps): switch back to cobra (#506)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-05-07 23:28:43 -03:00
Carlos Alexandro Becker 4a6d81ca8b
Revert "feat(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.2.2 to 2.4.6 (#484)" (#489)
This reverts commit 7645dff3a8.
2022-04-06 09:38:56 -03:00
dependabot[bot] 7645dff3a8
feat(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.2.2 to 2.4.6 (#484)
Bumps [github.com/ProtonMail/gopenpgp/v2](https://github.com/ProtonMail/gopenpgp) from 2.2.2 to 2.4.6.
- [Release notes](https://github.com/ProtonMail/gopenpgp/releases)
- [Changelog](https://github.com/ProtonMail/gopenpgp/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ProtonMail/gopenpgp/compare/v2.2.2...v2.4.6)

---
updated-dependencies:
- dependency-name: github.com/ProtonMail/gopenpgp/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 09:31:13 -03:00
dependabot[bot] 38d54695f1
feat(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#476)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 11:23:29 -03:00
Mikhail f. Shiryaev fd334c1801
feat: Update rpmpack to version with pgzip (#475) 2022-03-14 16:11:14 -03:00
Carlos A Becker 4a49bb986b
chore: go mod tidy
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-25 22:08:31 -03:00
Mikhail f. Shiryaev b953fee813
feat: replace compress/gzip by klauspost/pgzip (#457) 2022-02-13 14:31:37 -03:00
Mikhail f. Shiryaev 96c7b1f22f
fix: update rpmpack and change default compressor to gzip:-1 (a default level) instead of gzip:9 (#458)
* fix: use default compression level for rpm instead of 9

* test: add tests for different rpm compressors
2022-02-13 13:43:25 -03:00
dependabot[bot] 53a3fc20e5
feat(deps): bump github.com/goreleaser/fileglob from 1.2.0 to 1.3.0 (#455)
Bumps [github.com/goreleaser/fileglob](https://github.com/goreleaser/fileglob) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/goreleaser/fileglob/releases)
- [Changelog](https://github.com/goreleaser/fileglob/blob/main/.goreleaser.yml)
- [Commits](https://github.com/goreleaser/fileglob/compare/v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/goreleaser/fileglob
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-10 09:05:09 -03:00
Carlos Alexandro Becker c2aabd26f4
feat: bump mango (#447)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-03 09:19:30 -03:00
Carlos Alexandro Becker 13e76671c0
feat: generate man pages (#443)
* feat: migrate to coral

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

* feat: generate man pages

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-02 23:30:46 -03:00
Carlos Alexandro Becker 596412c6d1
feat: migrate to coral (#442)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2022-02-02 23:29:52 -03:00
dependabot[bot] da64d37f62
feat(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (#426)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 14:50:15 -03:00
Carlos A Becker b909114591
fix: remove replace from go.mod
closes #384
2021-11-11 23:04:40 -03:00
dependabot[bot] 60673eed41
feat(deps): bump github.com/AlekSi/pointer from 1.1.0 to 1.2.0 (#389)
Bumps [github.com/AlekSi/pointer](https://github.com/AlekSi/pointer) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/AlekSi/pointer/releases)
- [Commits](https://github.com/AlekSi/pointer/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/AlekSi/pointer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-06 14:27:18 -03:00
Carlos Alexandro Becker 8230209c40
feat: bump most deps (#374)
* feat: bump all deps

closes #368
closes #370

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

* fix: tests

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

* fix: fmt

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

* fix: renamed

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

* fix: downgrade gopenpgp/v2 for now

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

* fix: merge issues

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

* chore: trigger build

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

* fix: downgrade deps

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 21:01:32 -03:00
dependabot[bot] 1a515b4d32
chore(deps): bump github.com/ulikunitz/xz from 0.5.9 to 0.5.10 (#378)
Bumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/ulikunitz/xz/releases)
- [Commits](https://github.com/ulikunitz/xz/compare/v0.5.9...v0.5.10)

---
updated-dependencies:
- dependency-name: github.com/ulikunitz/xz
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 09:29:30 -03:00
Carlos A Becker be5b603f5d
feat: upgrade to go 1.17
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-08 15:50:13 -03:00
dependabot[bot] 5718be6a5a
chore(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.2.1 to 2.2.2 (#358)
Bumps [github.com/ProtonMail/gopenpgp/v2](https://github.com/ProtonMail/gopenpgp) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/ProtonMail/gopenpgp/releases)
- [Changelog](https://github.com/ProtonMail/gopenpgp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ProtonMail/gopenpgp/compare/v2.2.1...v2.2.2)

---
updated-dependencies:
- dependency-name: github.com/ProtonMail/gopenpgp/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-31 23:59:43 -03:00
dependabot[bot] e17af9b7f9
chore(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.2.0 to 2.2.1 (#357)
Bumps [github.com/ProtonMail/gopenpgp/v2](https://github.com/ProtonMail/gopenpgp) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/ProtonMail/gopenpgp/releases)
- [Changelog](https://github.com/ProtonMail/gopenpgp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ProtonMail/gopenpgp/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: github.com/ProtonMail/gopenpgp/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-29 15:48:21 +00:00
Carlos Alexandro Becker 5c895f6e80
feat: jsonschema (#350)
* feat: jsonschema

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

* fix: gitattr

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

* docs: schema

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

* docs: schema

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

* docs: improvements

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-07-07 10:20:34 -07:00
dependabot[bot] 97d21232f6
chore(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.1.10 to 2.2.0 (#347)
Bumps [github.com/ProtonMail/gopenpgp/v2](https://github.com/ProtonMail/gopenpgp) from 2.1.10 to 2.2.0.
- [Release notes](https://github.com/ProtonMail/gopenpgp/releases)
- [Changelog](https://github.com/ProtonMail/gopenpgp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ProtonMail/gopenpgp/compare/v2.1.10...v2.2.0)

---
updated-dependencies:
- dependency-name: github.com/ProtonMail/gopenpgp/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-06 22:01:26 -03:00
dependabot[bot] e1bc6e0e11
chore(deps): bump github.com/spf13/cobra from 1.1.3 to 1.2.1 (#349)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.3 to 1.2.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.3...v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-06 22:01:14 -03:00
dependabot[bot] da18e16a21
chore(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.1.9 to 2.1.10 (#344)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-16 22:57:39 -03:00
dependabot[bot] c7298c3d74
chore(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.1.8 to 2.1.9 (#337)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 11:48:01 -03:00
dependabot-preview[bot] 224aa86f7b
chore(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.1.7 to 2.1.8 (#329)
Bumps [github.com/ProtonMail/gopenpgp/v2](https://github.com/ProtonMail/gopenpgp) from 2.1.7 to 2.1.8.
- [Release notes](https://github.com/ProtonMail/gopenpgp/releases)
- [Changelog](https://github.com/ProtonMail/gopenpgp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ProtonMail/gopenpgp/compare/v2.1.7...v2.1.8)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-28 22:35:58 -03:00
Carlos Becker 3ae6012a7d chore: go mod tidy
Signed-off-by: Carlos Becker <caarlos0@gmail.com>
2021-04-26 13:55:57 +00:00
dependabot-preview[bot] b2dd54699a
chore(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.3 (#328)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.1 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.1...v1.1.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-26 10:54:14 -03:00
Carlos Alexandro Becker c39b8ba060
feat: overhaul cmd and release process (#325) 2021-04-23 09:29:19 -03:00
Cristian Ciutea 39f5bf392d
feat: add %pretrans %posttrans scriptlets (#322)
* create branch

* added rpm pretrans and posttrans scriptlets

* update rpmpack dependency

* updated acceptance testdata

* docs: updated documentation to include %pretrans and %posttrans rpm scripts

* cleanup

* docs: cleanup
2021-04-22 18:48:06 +00:00
Dj Gilcrease 41077943bd
test: clean up the acceptance tests (#292) 2021-04-15 17:25:39 -03:00
Dj Gilcrease a61de3bb05
fix: switch to use gopenpgp (#315)
With Googles anouncement that x/crypto/openpgp is depreciated https://github.com/golang/go/issues/44226 we have decided to switch to github.com/ProtonMail/gopenpgp & github.com/ProtonMail/go-crypto/openpgp
2021-04-08 11:15:11 -07:00
dependabot-preview[bot] fe57ea849e
chore(deps): bump github.com/imdario/mergo from 0.3.11 to 0.3.12 (#310)
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo) from 0.3.11 to 0.3.12.
- [Release notes](https://github.com/imdario/mergo/releases)
- [Commits](https://github.com/imdario/mergo/compare/v0.3.11...0.3.12)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-26 16:00:46 -03:00
Carlos Alexandro Becker 273b612558
feat: upgrade fileglob (#306)
* feat: upgrade fileglob

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

* fix: tests

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

* fix: update

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

* fix: quotemeta opt

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

* fix: quotemeta

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

* fix: fmt

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-03-01 11:27:05 -03:00
Carlos Alexandro Becker cf4fb12a87 feat: upgrade fileglob
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-02-27 20:27:53 -03:00
Carlos Alexandro Becker bf4f92763d
feat(ci): lint action, gocenter, tools (#304)
* feat(ci): lint action, gocenter, tools

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

* fix: fmt

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

* fix: lint issues

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

* fix: go generate

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-02-27 17:15:05 +00:00
Carlos Alexandro Becker 565e6a3fad feat: go 1.16
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-02-27 11:41:13 -03:00
dependabot-preview[bot] 9839777927
chore(deps): bump github.com/goreleaser/fileglob from 0.3.1 to 0.4.0 (#293)
Bumps [github.com/goreleaser/fileglob](https://github.com/goreleaser/fileglob) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/goreleaser/fileglob/releases)
- [Commits](https://github.com/goreleaser/fileglob/compare/v0.3.1...v0.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>
2021-02-05 12:34:53 +00:00
Dj Gilcrease 3b7e01508a
fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
dependabot-preview[bot] ea1605eaed
chore(deps): bump github.com/golangci/golangci-lint (#289)
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.34.1 to 1.36.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.34.1...v1.36.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-26 23:33:23 -03:00
dependabot-preview[bot] b259c6c0de
chore(deps): bump github.com/golangci/golangci-lint (#272)
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.34.0 to 1.34.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.34.0...v1.34.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-30 09:29:38 -03:00
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 62357a65e2
feat: version as v2 (#268)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-23 13:25:57 +00: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 c4ae30d749
feat: try to clean up and simplify the file adding interface (#255)
* feat: cleanup and simplify the file adding interface

* docs: update the configuration docs to focus on the new contents format for specifying files

* docs: correct spelling

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

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-12-15 13:47:00 -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
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
Carlos Alexandro Becker 3d7580ade2
refactor: remove pkg/errors (#226)
* refactor: remove pkg/errors

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

* fix: tests

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

* fix: lint

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-09-19 17:06:07 -03:00
Erik G c9bc9c6cd4
chore: Use upstream rpmpack. (#227) 2020-09-19 10:02:15 -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
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
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