1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-11-18 23:14:12 +01:00
Commit Graph

734 Commits

Author SHA1 Message Date
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>
v2.26.0
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>
v2.25.1
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 fe31c58444c71448f28efaf4f03a2a93e332ef44.
v2.25.0
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>
v2.24.0
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) v2.23.0 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
Carlos A Becker
66760061ee
test: fix apk tests v2.22.2 2022-11-30 09:46:25 -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
Carlos Alexandro Becker
2918f99b60
fix: improve contents.type (#581)
* fix: improve contents.type

improved jsonschema and added validations

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

* fix: config|noreplace

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

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-24 10:12:29 -03:00
James Tai
b30373beb0
docs: Add more detail to configuration docs (#579)
This adds more detail to the configuration reference in the docs. The
primary goal is to help users understand what each field does even if
they have not created packages before.
2022-11-24 10:12:00 -03:00
Carlos A Becker
280c04f44d
test: improve acceptance tests
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
v2.22.1
2022-11-17 14:49:18 -03:00
Carlos A Becker
d200637174
chore: fix build
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-17 14:22:45 -03:00
Carlos A Becker
233ff4dcb2
fix: acceptance test
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-17 14:21:30 -03:00
Carlos Alexandro Becker
5f10dba792
fix: archlinux prerelease (#578)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-17 09:50:38 -03:00
Carlos Alexandro Becker
b15966ccd6
fix: relative paths to dirs (#576)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-14 09:39:48 -03:00
Carlos Alexandro Becker
5c3cc38943
fix: archlinux globs (#574)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
v2.22.0
2022-11-12 00:50:16 -03:00