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

794 Commits

Author SHA1 Message Date
Carlos A Becker 3db2dbbfdb
chore: inline if 2023-03-09 10:05:56 -03:00
Carlos A Becker b2755c9dc4
fix(GO-2023-1621): update from go 1.20.1 to 1.20.2
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-09 10:03:15 -03:00
Carlos Alexandro Becker 38f9376d59
refactor: stricter golangci-lint ruleset (#631)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-09 10:02:20 -03:00
Carlos Alexandro Becker 745ad27658 feat: wrap pgp errors (#630) 2023-03-04 12:54:42 -03:00
dependabot[bot] 5da6f8d030
chore(deps): bump sigstore/cosign-installer from 2.8.1 to 3.0.1 (#629)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 2.8.1 to 3.0.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v2.8.1...v3.0.1)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 09:38:13 -03:00
dependabot[bot] cab913a228
feat(deps): bump github.com/klauspost/compress from 1.15.15 to 1.16.0 (#626)
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.15.15 to 1.16.0.
- [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.15...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
  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>
2023-02-27 09:34:54 -03:00
dependabot[bot] dc08ddab3c
feat(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#627)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.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>
2023-02-27 09:34:43 -03:00
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
Carlos Alexandro Becker f7aeeb210b
feat: upgrade go (#624)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-19 10:30:40 -03:00
caarlos0 6bd00b2ea5 docs: update cmd docs 2023-02-19 13:17:42 +00:00
Erik G bc3e6973ea
feat: refactor contents handling and add tree content type (#618)
* feat: Refactor contents handling and add tree content type.

* fix:  Remove unnecessary deprecation warning.

* doc: Document tree type.

* fix: Remove superfluous error check.

* fix: Fix directory and symlink file info for tree content type.

* fix: Fix archlinux directories and file infos.

* fix: Early out in withChangelogIfRequested

* fix: Remove ExpandContentGlobs.
2023-02-19 10:16:51 -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
caarlos0 3b018d8f86 docs: update cmd docs 2023-02-12 14:19:45 +00: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 A Becker 4d89ab846e
fix: use --clean instead of --rm-dist
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-02-05 14:00:00 -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
caarlos0 c6fa61ca2c docs: update cmd docs 2023-02-01 23:07:42 +00: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
Erik G d56fbe2958
feat: add zstd compression support for deb and rpm (#611) 2023-01-30 00:24:27 -03:00
dependabot[bot] 47e48a17a0
chore(deps): bump anchore/sbom-action from 0.13.2 to 0.13.3 (#610)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](https://github.com/anchore/sbom-action/compare/v0.13.2...v0.13.3)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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:17 -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] 021cbe9d63
chore(deps): bump anchore/sbom-action from 0.13.1 to 0.13.2 (#608)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](https://github.com/anchore/sbom-action/compare/v0.13.1...v0.13.2)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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-26 09:50:06 -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
caarlos0 f1ff7dadd7 docs: update cmd docs 2023-01-24 03:21:04 +00:00
Carlos Alexandro Becker daae772558
fix: do not allow empty items in deb.provides (#606)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-23 22:44:22 -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
Carlos Alexandro Becker c816571b14
test: improve test code (#602)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-07 16:51:49 -03:00
Anders Björklund c195d93dfb
feat: expand variables in platform field (#601)
* feat: expand variables in platform field

Surprising that GOARCH was expanded, but GOOS was not.

More consistent to expand both of them the same way ?

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>

* fix: check platform for all packagers

Implement platform for deb packager, goes into Architecture.

Validate that the platform is "linux", for Alpine and Arch.

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2023-01-07 16:35:57 -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
caarlos0 d0f5dde746 docs: update cmd docs 2023-01-03 01:26:54 +00:00
Carlos A Becker 5b082c88bc
docs: udpate
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-01-02 22:26:17 -03:00
Carlos A Becker 475f856f83
test: fix wrong path
refs https://github.com/goreleaser/nfpm/pull/596#discussion_r1059437870

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-30 13:00:01 -03:00
caarlos0 11d8f44aa5 docs: update cmd docs 2022-12-30 15:54:55 +00:00
dependabot[bot] ba2143d994
chore(deps): bump benc-uk/workflow-dispatch from 1 to 121 (#598) 2022-12-30 09:13:26 -03:00
Carlos A Becker cf241e317b
docs: fix readme badge
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-29 22:40:19 -03:00
Carlos A Becker 5727085a7e
docs: improve tips & tricks
closes #561

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-29 22:38:08 -03:00
Carlos Alexandro Becker f2e5d2a1e3
fix(deb): changelog fixes (#597)
* fix(deb): changelog fixes

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Andrei Belov <defanator@users.noreply.github.com>

* fix: test

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

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Andrei Belov <defanator@users.noreply.github.com>
2022-12-29 22:25:49 -03:00
Carlos Alexandro Becker dedee6d6b1
fix: do not encourage using /usr/local/bin (#596)
* fix: do not encourage using /usr/local/bin

Examples, tests and docs often refer to /usr/local/bin, which should
only be used for things compiled locally, which is not the case of
installed packages.

Changed that to /usr/bin, and also some usages of things like
/usr/something to /usr/share/something.

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

* fix: complex test

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

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-29 22:19:38 -03:00
Dj Gilcrease 0c2ef6b723
fix: add the non-overides package relation fields to allow env expansion (#593) 2022-12-29 21:07:34 -03:00
Carlos Alexandro Becker c46f14323a
docs: remove vercel deploy (#595)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-29 21:04:56 -03:00
Carlos A Becker 51aaa7d701
docs: improve build
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-29 20:56:42 -03:00
Carlos A Becker 023da3d4fa
docs: update pip
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-29 11:18:10 -03:00
Carlos A Becker 9b853c3fe3
docs: pages build script 2022-12-29 11:04:58 -03:00
dependabot[bot] 7ad962bb69
chore(deps): bump goreleaser/goreleaser-action from 3 to 4 (#592)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 3 to 4.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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-14 09:41:59 -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
Himanshu c80d81b47b
docs: fixes minor typos (#588) 2022-12-13 01:55:07 -03:00
Carlos Alexandro Becker 4551ecf493
chore: delete lock threads action
it has not been working for a while, didn't miss it
2022-12-12 09:39:31 -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
James Tai ae586054aa
docs: Discourage "v" prefix for version numbers (#584)
Using a `v` prefix for the `version` field happens to work if the
version is semver-compatible, since the semver parser will strip the
`v`. If it is not semver-compatible, then a `v` prefix should not be
used, since some package managers (like deb) won't accept it.
2022-12-07 09:35:53 -03:00