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

728 Commits

Author SHA1 Message Date
Carlos A Becker 97d7437c51
test: use debian as base img 2021-11-13 18:38:27 -03:00
Carlos A Becker 7a465a6ad5
test: fix upgrade test 2021-11-13 18:34:09 -03:00
Carlos A Becker 62f773fdf4
chore(ci): do not pull 2021-11-13 18:28:07 -03:00
Carlos A Becker f278a0d922
test: override pkg on test 2021-11-13 18:27:53 -03:00
Carlos A Becker 743cd76600
fix: dep architectures 2021-11-13 18:21:18 -03:00
Carlos A Becker e009224359
fix: rpm on arm 2021-11-13 18:10:55 -03:00
Carlos Alexandro Becker 2a86957187
feat: add deprecation notice interface (#399)
* feat: add deprecation notice interface

* fix: use a simple writer

* fix: use println
2021-11-12 23:07:18 -03:00
dependabot[bot] 5e665bdaf4
feat(deps): bump sigstore/cosign-installer from 1.3.0 to 1.3.1 (#402)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v1.3.0...v1.3.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>
2021-11-12 17:25:39 -03:00
Carlos A Becker 074c2de8e7
docs: fix url 2021-11-12 17:21:09 -03:00
Carlos Alexandro Becker eaf42de445
feat: rename branch to main (#400) 2021-11-12 17:18:34 -03:00
Carlos A Becker b909114591
fix: remove replace from go.mod
closes #384
2021-11-11 23:04:40 -03:00
Erik G 4f5362102c
feat: directory content type with custom attributes (#390)
* Deprecate EmptyFolders and introduce dir contents.

* Handle explicit dirs with attributes correctly for Debs.

* Handle explicit dirs with attributes correctly for Apks.

* Sort contents by fields that are most relevant for the package.

* Make deprecation warning for empty_folders consistent.

* Name RPM directory tag more consistently.

* Fix deprecation notice in docs.

* Fix directory normalization for Debs and Apks.

* Revert Apk builder size in tests.

* Fix file sorting.

* Fix deprecated EmptyFolders handling in info.Validate.

* Fix Apk builder size in tests.

* Only stat content source when necessary.

* Allow src on dir content.

* Small addition to file_info docs.

* Fix typo in comments.

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

* Remove content type fallthrough case.

* Fix typo in apk tests.

* Fix more typos.

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-11-11 22:58:59 -03:00
Carlos Alexandro Becker e05fb50648
fix: added more arches (#398)
* fix: added more arches

* fix: code review
2021-11-07 22:57:56 -03:00
Carlos A Becker 2e30111d86
chore: user require instead of assert 2021-11-07 10:51:13 -03:00
Carlos A Becker f6fd7c7d36
chore(ci): install cosign 2021-11-07 10:31:53 -03:00
Carlos A Becker 26ea844088
chore(ci): install cosign 2021-11-07 10:31:09 -03:00
Carlos A Becker 43d46e2767
refactor: improve if a bit 2021-11-06 23:53:32 -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
Erik G 3f068f057c
fix: Improve performance of content destination collision detection (#388)
* Fix: Improve performance of content destination collision detection.

* Remove duplicate info.Validate call

* Fix tests.

* Remove another Validate call.
2021-11-06 14:10:46 -03:00
Roman Dodin 72daac227f
docs: fix docker exec example (#391) 2021-11-06 14:08:44 -03:00
Erik G de69693152
fix(ci): build ./cmd/nfpm (#394) 2021-11-06 14:07:46 -03:00
Erik G 563d480677
fix: use full mode instead of permissions in tarball (#395) 2021-11-06 14:07:18 -03:00
Erik G e5c7e17300
feat: allow platform specific arch overrides. (#396)
* Feat: Allow platform specific arch overrides.

* Fix typos and make arch handling more consistent.
2021-11-06 14:04:50 -03:00
Carlos A Becker 685352fcfb
docs: improve search 2021-11-01 09:03:27 -03:00
dependabot[bot] 984d00a7ed
feat(deps): bump actions/cache from 1 to 2.1.6 (#380)
Bumps [actions/cache](https://github.com/actions/cache) from 1 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v1...v2.1.6)

---
updated-dependencies:
- dependency-name: actions/cache
  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>
2021-10-15 10:45:23 -03:00
dependabot[bot] d19d788b7e
feat(deps): bump codecov/codecov-action from 1 to 2.1.0 (#381)
* feat(deps): bump codecov/codecov-action from 1 to 2.1.0

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v2.1.0)

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

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

* chore: use major

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-10-14 17:30:45 -03:00
dependabot[bot] 80d1f00930
feat(deps): bump dessant/lock-threads from 2 to 3 (#382)
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 2 to 3.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/v2...v3)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  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>
2021-10-14 17:30:34 -03:00
Carlos A Becker 2e78af57b9
fix: sign artifacts
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-13 21:29:25 -03:00
Carlos A Becker e0d55fba23
docs: install script method removed
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-13 21:23:36 -03:00
Carlos A Becker 6f5843973d
docs: fix coc
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 22:30:56 -03:00
Carlos A Becker f29b6460e2
chore(ci): fix dependabot config
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 22:17:58 -03:00
Carlos A Becker 341997fdd9
chore(ci): fix dependabot config
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 22:16:56 -03:00
Carlos A Becker 8e61905960
chore(ci): fix dependabot config
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 22:16:03 -03:00
Carlos A Becker 1326bf393b
chore(ci): dependabot config
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 22:14:28 -03:00
Carlos A Becker d04964eae1
chore(ci): improve/fix release config
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 22:08:25 -03:00
Carlos A Becker 4a9ffaf333
chore(ci): improve/fix release config
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 22:05:25 -03:00
Carlos A Becker 556b002d40
docs: arch accepts env
closes #362

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 21:05:28 -03:00
PaiPai d1ff1af396
manually set the header attribute。 (#359)
Co-authored-by: zhanglei.sec <zhanglei.sec@bytedance.com>
Co-authored-by: Dj Gilcrease <d.gilcrease@f5.com>
2021-10-12 21:02:26 -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
Carlos A Becker 6b039bdbef
chore(ci): use repo-token
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 20:13:21 -03:00
Carlos Alexandro Becker 9183e61357
chore(ci): passing the github token to setup-task (#379)
* chore(ci): passing the github token to setup-task

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

* chore(ci): install go

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 16:54:57 -03:00
Carlos A Becker 4cdfb6b273
docs: refresh schema
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 16:43:28 -03:00
Carlos A Becker 0decc7251f
chore(ci): tasks
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 16:41:32 -03:00
Carlos A Becker fb0a007440
chore: fmt
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-12 14:42:00 -03:00
Drew Stinnett 56c46c6d50
feat: enforce packager defaults (#372)
* feat: apply defaults to required deb values

* feat: Adding default info to config documentation

* fix: cleanup comments

* refactor: implementing refactor from PR discussion

* fix: making deprecation warning more clear
2021-10-11 09:50:43 -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
Kyle Penfound 4210500f66
fix: release at end of version string (#375)
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2021-10-10 14:44:47 -03:00
Carlos Alexandro Becker d43e819f62
chore(ci): use taskfile, improve configs (#376)
* chore(ci): use taskfile, improve configs

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

* chore: gofish

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

* chore: gofish

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

* chore: goreleaser cofnig

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-10 14:44:08 -03:00
Carlos A Becker 88807ba254
chore: vercel scripts
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-10 10:50:37 -03:00
Carlos A Becker 4eecbe243e
docs: vercel config
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-10 10:31:29 -03:00