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

957 Commits

Author SHA1 Message Date
dependabot[bot] 4b4f04a26e
feat(deps): bump github.com/invopop/jsonschema from 0.11.0 to 0.12.0 (#722)
Bumps [github.com/invopop/jsonschema](https://github.com/invopop/jsonschema) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/invopop/jsonschema/compare/v0.11.0...v0.12.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>
2023-10-05 09:48:21 -03:00
dependabot[bot] 3f4ab94f0b
feat(deps): bump github.com/invopop/jsonschema from 0.10.0 to 0.11.0 (#720) 2023-10-04 14:22:41 -03:00
dependabot[bot] 2e96c18d59
feat(deps): bump github.com/invopop/jsonschema from 0.9.0 to 0.10.0 (#717)
Bumps [github.com/invopop/jsonschema](https://github.com/invopop/jsonschema) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/invopop/jsonschema/compare/v0.9.0...v0.10.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>
2023-09-26 08:22:18 -03:00
dependabot[bot] a488179e94
feat(deps): bump github.com/invopop/jsonschema from 0.8.0 to 0.9.0 (#716)
Bumps [github.com/invopop/jsonschema](https://github.com/invopop/jsonschema) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/invopop/jsonschema/compare/v0.8.0...v0.9.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>
2023-09-22 09:38:59 -03:00
caarlos0 55aff531d9 docs: update cmd docs 2023-09-22 03:02:37 +00:00
Carlos Alexandro Becker bb6d0b9839
fix(rpm): conventionalfilename (#715)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-21 23:48:09 -03:00
caarlos0 c08c720987 docs: update cmd docs 2023-09-19 12:02:48 +00:00
dependabot[bot] 761c574bb0
feat(deps): bump github.com/klauspost/compress from 1.16.7 to 1.17.0 (#712)
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.16.7 to 1.17.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.16.7...v1.17.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-09-19 08:41:54 -03:00
Carlos Alexandro Becker cb2d7bd5d5
fix(rpm): conventional file name should always have the release (#701)
* fix(rpm): conventional file name should always have the release

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

* test: fix acceptance test

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-09-12 09:59:28 -03:00
dependabot[bot] 6692fd7d2c
chore(deps): bump docker/setup-buildx-action from 2 to 3 (#708)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  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-09-12 09:59:14 -03:00
dependabot[bot] 11da870c9e
chore(deps): bump docker/login-action from 2 to 3 (#709)
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  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-09-12 09:59:06 -03:00
dependabot[bot] 5b7cf2c72d
chore(deps): bump goreleaser/goreleaser-action from 4 to 5 (#710)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 4 to 5.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v4...v5)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 09:58:59 -03:00
dependabot[bot] 5fc8b9f0df
chore(deps): bump docker/setup-qemu-action from 2 to 3 (#707) 2023-09-12 12:45:07 +00:00
dependabot[bot] 0f4dc3bd4a
feat(deps): bump github.com/invopop/jsonschema from 0.7.0 to 0.8.0 (#705) 2023-09-09 10:29:28 -03:00
dependabot[bot] d7d50c0622
chore(deps): bump actions/cache from 3.3.1 to 3.3.2 (#706)
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](88522ab9f3...704facf57e)

---
updated-dependencies:
- dependency-name: actions/cache
  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-09-08 09:54:06 -03:00
dependabot[bot] 11e8d8a3f0
chore(deps): bump actions/checkout from 3 to 4 (#704) 2023-09-05 12:01:37 +00:00
dependabot[bot] 03f30f2a82
chore(deps): bump sigstore/cosign-installer from 3.1.1 to 3.1.2 (#703)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.1.1...v3.1.2)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  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-09-04 10:33:39 -03:00
Carlos Alexandro Becker b50fc3af8c
test: deb.predepends integration test (#699)
* test: deb.predepends integration test

refs #696

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

* fix: test

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

* fix: typo

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-08-15 23:11:10 -03:00
Jeremy Gill 3aded351f4
feat: add minimal support for Debian pre-dependencies (#696)
* feat: add minimal support for Debian pre-dependencies

Basic support for adding 'Pre-Depends:' to Debian packages added.

* Make Predefined a debian-specific modification

Based on feedback from @caarlos0.

* Add some coverage of pre-depend Debian field in unit tests

* Update the configuration example to include Debian-specific predepends reference
2023-08-15 15:18:58 -03:00
Andrew Lytvynov 24a43c5ad7
feat: add support for remote signing keys (#695)
* feat: Add support for remote signing keys

When used as a library, `nfpm.PackageSignature.SignFn` can be set as an
alternative to `KeyFile`. This allows arbitrary signing key
implementations, like a remote signing server.

Updates https://github.com/tailscale/tailscale/issues/1882

* Update rpm/rpm_test.go

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

---------

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-08-03 09:36:30 -03:00
Carlos Alexandro Becker 577ae45531
feat(deps): use mergo 1.0.0
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-31 16:35:07 +00:00
Ville Skyttä c37d2eac92
docs: improve deb fields var expansion example (#693)
`$CI_REPOSITORY_URL` is not quite appropriate for `Vcs-Git`,
use `$CI_PROJECT_URL` with `Vcs-Browser` instead.

https://docs.gitlab.com/ee/ci/variables/predefined_variables.html
https://www.debian.org/doc/debian-policy/ch-controlfields.html#version-control-system-vcs-fields
2023-07-14 14:08:50 -03:00
caarlos0 a70fafc99a docs: update cmd docs 2023-07-14 01:58:37 +00:00
Ville Skyttä 562bc43c41
feat: expand env variables in homepage field (#675)
For example, GitLab CI has `CI_PROJECT_URL` which can be useful here.
2023-07-12 23:23:16 -03:00
caarlos0 182fb41896 docs: update cmd docs 2023-07-13 01:10:13 +00:00
Carlos Alexandro Becker d309eb6015
fix: windows issues (#690)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-12 22:09:28 -03:00
Carlos Alexandro Becker d710da8c9c
test: stabilize arch tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-12 19:10:43 +00:00
Carlos Alexandro Becker 6c46ec3bcb
chore: fmt deb.go 2023-07-12 19:09:12 +00:00
Carlos Alexandro Becker e7812cdaff
test: close temp file 2023-07-12 19:07:34 +00:00
Carlos Alexandro Becker 86e066beaa
build: improve windows testing
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-12 19:06:13 +00:00
Carlos Alexandro Becker 53d938780e
build: improve windows testing
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-12 19:05:14 +00:00
Carlos Alexandro Becker 741acf8bcc
feat(rpm): support relocatable packages (#691)
closes #640
2023-07-11 01:39:08 -03:00
Carlos Alexandro Becker 07513b9b4f
build: pkg on windows, install on linux (#692)
* build: pkg on windows, install on linux

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

* fix: paths

* fix: path again

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

* fix: build

* fix: build

* fix: full test

* fix: use sha_short as cache key

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-07-10 23:31:12 -03:00
dependabot[bot] c87f56f734
feat(deps): bump github.com/klauspost/compress from 1.16.6 to 1.16.7 (#689)
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.16.6 to 1.16.7.
- [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.6...v1.16.7)

---
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-07-10 09:45:54 -03:00
Yaron de Leeuw 10d777660e
feat: unfork rpmpack. (#688)
Go back to using upstream github.com/google/rpmpack instead of nfpm's
forked version.

See #640
2023-07-10 09:25:05 -03:00
dependabot[bot] 90d060d528
feat(deps): bump github.com/klauspost/compress from 1.16.6 to 1.16.7 (#687) 2023-07-04 09:43:28 -03:00
dependabot[bot] e01406ff18
chore(deps): bump sigstore/cosign-installer from 3.1.0 to 3.1.1 (#686)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  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-06-28 09:47:54 -03:00
caarlos0 784152e29a docs: update cmd docs 2023-06-27 13:31:58 +00:00
Carlos Alexandro Becker f8c8ab0057
fix: use goversion lib (#685)
* feat: use goversion lib

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

* fix: trailing empty line

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

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-27 10:31:04 -03:00
Carlos Alexandro Becker 90d33177a3
chore: fmt
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-27 11:30:03 +00:00
figsoda 4afeb94599
fix: version output (#684) 2023-06-27 08:17:43 -03:00
caarlos0 01f8a9ae95 docs: update cmd docs 2023-06-26 14:37:20 +00:00
Carlos Alexandro Becker 0110358b33
feat: update chglog
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-26 13:56:10 +00:00
Carlos Alexandro Becker aff8ca31e9
feat: update protonmail/crypto (#680)
* feat: update protonmail/crypto

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

* chore: update

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

* fix: actually run the centos tests

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

* chore: improve test ordering

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

* fix: signing rpms

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

* feat: rpm.signature.format

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

* test: improvements

* Revert "feat: rpm.signature.format"

This reverts commit 9c46a58fff.

* fix: revert unneeded changes

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

* fix: use my fork

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

* revert: some unneeded changes

* test: fix order

* chore: finally fixed

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

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-26 10:19:35 -03:00
dependabot[bot] ce79fa43ef
chore(deps): bump sigstore/cosign-installer from 3.0.5 to 3.1.0 (#683) 2023-06-26 13:16:59 +00:00
Carlos Alexandro Becker d8d067cb0b
chore: fix typo 2023-06-24 16:18:45 +00:00
Carlos Alexandro Becker 907d1d4e39
build: test signing on fedora 34 and 36 2023-06-24 16:17:52 +00:00
Carlos Alexandro Becker 7f1f65a942
build: use correct centos9 image 2023-06-24 16:17:11 +00:00
Carlos Alexandro Becker 6a6032276b
fix: actually run the centos tests
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-24 15:57:20 +00:00
Carlos Alexandro Becker 5181accf18
build: use better centos images
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-06-24 15:57:16 +00:00