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

31 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
bf4f92763d
feat(ci): lint action, gocenter, tools (#304)
* feat(ci): lint action, gocenter, tools

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

* fix: fmt

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

* fix: lint issues

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

* fix: go generate

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2021-02-27 17:15:05 +00:00
Dj Gilcrease
3b7e01508a
fix: add the PAXHeaders for file checksum required by alpine 3.13+ (#291) 2021-02-02 20:37:17 -08:00
Carlos Alexandro Becker
19817233b5
feat: remove deprecated options (#267)
* feat: remove deprecated options

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

* test: fixing

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

* fix: configs

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

* fix: tempdir

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

* fix: fmt

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

* feat: go 1.15

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

* test: fix

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

* test: fix

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

* test: fix

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

* fix: tests

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

* refactor: test

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

* fix: lint

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

* fix: import

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

* fix: test

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

* fix: symlink

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-12-22 21:28:32 -03:00
Dj Gilcrease
c4ae30d749
feat: try to clean up and simplify the file adding interface (#255)
* feat: cleanup and simplify the file adding interface

* docs: update the configuration docs to focus on the new contents format for specifying files

* docs: correct spelling

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

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-12-15 13:47:00 -03:00
Erik G
fd176b36f6
feat: Support DEB Breaks field (#220)
* feat: Support DEB Breaks option.

* doc: Add docs for breaks relationship.

* fix: Increase test timeout.
2020-09-01 19:27:29 +00:00
Erik G
bb9a3c8c88
fix: Fix build badge and coverage format. (#211) 2020-08-17 15:42:19 -03:00
Carlos Alexandro Becker
1c35d796c0 fix(ci): codecov
refs #198

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-08-05 09:49:13 -03:00
Carlos Alexandro Becker
42f29b9d7a
chore(ci): run fast tests first (#182)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-29 23:12:40 -03:00
Carlos Alexandro Becker
94fe67d240 fix(ci): increase test timeout
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-07-10 02:40:22 -03:00
Carlos Alexandro Becker
7b7ab3ffc7
docs: added docs website (#142)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-24 16:09:47 -03:00
Carlos Alexandro Becker
2768948b4e
feat: update golangci-lint (#137)
* fix: golangci-lint

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

* feat: update golangci-lint

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

* fix: docs

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

* fix: lint issues

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

* fix: test

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

* fix: test

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

* fix: test

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-05-13 16:24:06 -03:00
Dj Gilcrease
7889c9b2b6
fix: add stricter linting (#87)
* add stricter linting
* As part of this it changes the API slightly changing all uses of the `nfpm.Info` object to accept a pointer to reduce memory usage as pointed out by `hugeParam: info is heavy (568 bytes); consider passing it by pointer (gocritic)`
2019-10-11 13:11:28 -07:00
Dj Gilcrease
b47eac0b54
Merge pull request #85 from djgilcrease/bugfix/issue-50
fix: parse the version as a semver
2019-10-09 18:11:58 -07:00
Carlos Alexandro Becker
d29b42a9de
clean: remove last mentions to rpmbuild (#84)
* clean: remove last mentions to rpmbuild

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

* fix: goproxy

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-10-09 16:30:17 -03:00
Dj Gilcrease
03193b2ab0 feat: provide more field support for rpms (#79)
* fix: properly add the PostRemove script, not the PostInstall script

* feat: provide more field support for rpms

New RPM fields
---
* Description
* OS <= info.Platform
* Licence
* URL <= info.Homepage
* Vendor
* Packager <= info.Maintainer
* Provides
* Require <= info.Depends
* Obsolete <= info.Replaces
* Suggests
* Conflicts

Fixes
---
* RPM Compression types are supported again
* RPM Config files are supported again
  * `rpmpack` will support all the rpm file types, so we could extend this more latter

* chore: disable wsl (a new linter in 1.20.x got golangci-lint) until we decide to enable it

* chore: address PR comments
2019-10-09 16:10:05 -03:00
Carlos Alexandro Becker
be07ce5c4d
chore(ci): disable godox 2019-10-03 09:39:55 -03:00
Carlos Alexandro Becker
8d5d54a007
ci: go mod tidy
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-09-10 15:04:46 -03:00
Carlos Alexandro Becker
21aa860653
chore(ci): use gocenter as GOPROXY 2019-03-21 10:00:12 -03:00
Carlos Alexandro Becker
9bd8145ab5 chore: go modules 2018-10-29 09:34:39 -03:00
Carlos Alexandro Becker
7d40a1a171
fix: test timeout 2018-06-04 08:48:41 -03:00
Carlos Alexandro Becker
5baf8976dc
fix: pull test images before testing to avoid timeouts 2018-06-02 15:35:39 -03:00
Carlos Alexandro Becker
e50dcef204
chore: using golangci-lint as linter 2018-06-02 15:22:21 -03:00
Carlos Alexandro Becker
d2eaeef92b chore: idk why travis complains about this one 2018-05-16 21:42:34 -03:00
Carlos Alexandro Becker
4fb797089a chore: better gometalinter 2018-05-16 21:42:34 -03:00
Carlos Alexandro Becker
3c679196cd
fix: fixed example config
closes #31
2018-04-10 14:29:44 -03:00
Carlos Alexandro Becker
1238660a59
test: acceptance tests for globs
refs #17
2018-03-25 15:58:44 -03:00
Carlos Alexandro Becker
23c2d551b3
chore: improved makefile 2018-03-11 15:44:39 -03:00
Carlos Alexandro Becker
24b75ec65c
chore: go test -race 2018-02-25 17:32:28 -03:00
Carlos Alexandro Becker
926fe5a599
chore: packr 2018-02-16 22:12:57 -02:00
Carlos Alexandro Becker
b2faa8b743
chore: build, makefile, etc 2018-02-16 20:38:45 -02:00
Carlos Alexandro Becker
8d6ebd98e2
dep and fixes 2018-02-05 00:54:03 -02:00