1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-11-19 03:25:08 +01:00
Commit Graph

26 Commits

Author SHA1 Message Date
Carlos Alexandro Becker
33156b2b19
fix: rules tests, overridables (#66)
* fix: rules tests, overridables

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

* doc: gogoc

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

* fix: rpm template

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

* fix: rpm template

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-31 10:21:28 -03:00
Nick Gerakines
83505988b2 feat: added support for "rules" debian package file (#49)
* Added support for rules debian package file

* Fixing typo in CONTRIBUTING.md

* Runing 'make fmt' on project.
2019-08-31 09:37:22 -03:00
Carlos Alexandro Becker
214d773fe2
fix: improve rpm release config (#64)
* fix: improve rpm release config

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

* fix: template

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2019-08-25 12:12:38 -03:00
James A. Robinson
e08d696bd6 feat: add release field (#52)
* added support for a Release flag

* account for "Release: 1" default in exampleInfo()
2019-08-25 11:45:10 -03:00
Adrian Wennberg
c17636c028 feat: Add option for RPM compression type (#63)
* feat: Add option for RPM compression type

See #62

* test: acceptance test for rpm compression types
2019-08-23 10:49:04 -03:00
Adrian Wennberg
76d7d4f3ca Adding Prefix and Group tags (#59)
* fix: Define sourcedir and rpmfilename macros for rpmbuild

Our build system has a complex rmpbuld environment set up where
macros don't match with the defaults that nfpm exepcts. This
change will enforce those defaults which makes nfpm less
dependant on the build environment.

* feat: Add Group and Prefix tags for RPMs

These tags are only implemented for RPMs because there is
no good parallel to draw to deb tags.

See #57

* fix: moved rpm only tags into their own block

* test: added test for RPM block

* fix: fixed rpm only tags test

* test: Testing spec file for RPM specific tags

See: #57
2019-07-15 20:20:57 -03:00
Adrian Wennberg
75cf0f6b4e Added Packager and Epoch tags (#58)
* feat: Add optional packager tag to rpm spec

Using the `Maintainer` tag from deb as the `Packager` tag for rpm

See #57

* feat: Optional epoch field added to both rpm and dep packages

See #57

* test: Adding test for deb epoch field

Adding a unit test for the epoch field and fixing the implementation
of version number with epoch for deb packager.

See #57
2019-06-25 09:56:32 -03:00
Carlos Alexandro Becker
32909dea74
fix: lint issues 2019-03-04 10:14:05 -03:00
Matthias Schneider
5c2749c5bb changed to os.ExpandEnv ; added tests for env support 2018-09-14 11:23:22 -03:00
Matthias Schneider
8b3af839f7 Added Environment Support for version
With this patch it is possible to use enviornment variables for the versions value in the yaml file:

```version: $NFPM_PACKAGE_VERSION```
2018-09-14 11:23:22 -03:00
Carlos Alexandro Becker
e9205e74c0
fix: lint issues 2018-09-12 13:17:59 -03:00
Carlos Alexandro Becker
eef4f1b180 feat: support creating empty managed dirs 2018-05-16 21:42:34 -03:00
tympanix
d383adbbe0 refactor: make config validate public 2018-04-10 22:59:25 +02:00
tympanix
145a47c222 feat: validate overrides for known formats 2018-04-10 21:37:46 +02:00
tympanix
fbe68cc0f9 refactor: overrides using explicit embedded struct 2018-04-10 17:39:43 +02:00
tympanix
b94bf26a5b fix: parsefile nolint errcheck 2018-04-10 01:33:06 +02:00
tympanix
184ddc2cad feat: packager config overrides 2018-04-10 01:08:01 +02:00
Tympanix
992e1aac41 feat: maintainer scripts for deb 2018-04-09 13:19:45 -03:00
Carlos Alexandro Becker
672aa2bd65 fix: better validations 2018-04-05 09:51:01 -03:00
Luis Ramos
6af88f78d1
Set default value for Description field 2018-03-20 18:57:36 +00:00
Carlos Alexandro Becker
95bf6ef939
fix: remove version prefix
closes #9
2018-02-28 08:26:29 -03:00
Carlos Alexandro Becker
4486870ddd
feat: handle rpmbuild version and adds suggests as well 2018-02-18 18:41:32 -03:00
Carlos Alexandro Becker
2d6378cbe4
feat: support recommending packages 2018-02-18 17:14:55 -03:00
Carlos Alexandro Becker
186cf62043
feat: init from example 2018-02-16 19:23:11 -02:00
Carlos Alexandro Becker
00335c9c83
chore: improved cli 2018-02-16 18:39:23 -02:00
Carlos Alexandro Becker
77fbb9b1fd
test: for root pkg 2018-02-15 23:28:11 -02:00