1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-05-05 20:16:17 +02:00
Commit Graph

957 Commits

Author SHA1 Message Date
Carlos A Becker 5d251398b5
fix: lint issues
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-06 01:37:13 +00:00
Carlos A Becker a67cf556cb
build: run checks on latest go
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-06 01:35:52 +00:00
Carlos Alexandro Becker 571a32b031
fix(archlinux): .MTREE should have dir permissions too (#644) 2023-04-05 10:12:19 -03:00
dependabot[bot] 3174a22d6e
feat(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#643)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.6.1...v1.7.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>
2023-04-05 09:22:02 -03:00
dependabot[bot] 28170a1e71
chore(deps): bump anchore/sbom-action from 0.13.4 to 0.14.1 (#642)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.13.4 to 0.14.1.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](https://github.com/anchore/sbom-action/compare/v0.13.4...v0.14.1)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  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-04-03 09:21:07 -03:00
Carlos Alexandro Becker ead6ccffad
build: create scoop manifests inside a bucket folder
refs https://github.com/goreleaser/goreleaser/issues/3899

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-04-03 09:06:34 -03:00
dependabot[bot] 03231979dc
feat(deps): bump github.com/imdario/mergo from 0.3.14 to 0.3.15 (#639) 2023-03-27 12:45:43 -03:00
dependabot[bot] 3ebb43aef0
chore(deps): bump anchore/sbom-action from 0.13.3 to 0.13.4 (#637)
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.13.3 to 0.13.4.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](https://github.com/anchore/sbom-action/compare/v0.13.3...v0.13.4)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 14:34:35 -03:00
caarlos0 e89522aa89 docs: update cmd docs 2023-03-20 01:51:28 +00:00
Carlos A Becker d30c22f50d
build: fix goreleaser configuration
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-19 22:43:40 -03:00
dependabot[bot] c9219cae96
chore(deps): bump actions/setup-go from 3 to 4 (#634)
* chore(deps): bump actions/setup-go from 3 to 4

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Apply suggestions from code review

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-03-17 15:50:25 -03:00
dependabot[bot] 8fc4217d23
feat(deps): bump github.com/klauspost/compress from 1.16.0 to 1.16.3 (#632)
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.16.0 to 1.16.3.
- [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.16.0...v1.16.3)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-17 15:42:25 -03:00
dependabot[bot] 004a530b84
feat(deps): bump github.com/imdario/mergo from 0.3.13 to 0.3.14 (#633)
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo) from 0.3.13 to 0.3.14.
- [Release notes](https://github.com/imdario/mergo/releases)
- [Commits](https://github.com/imdario/mergo/compare/v0.3.13...v0.3.14)

---
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>
2023-03-17 00:43:44 -03:00
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