Skip to content

Commit c633085

Browse files
committed
feat(release): add nfpms release
1 parent 8a2d970 commit c633085

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.goreleaser.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,11 @@ changelog:
5151
- Merge pull request
5252
- Merge branch
5353
- go mod tidy
54+
55+
nfpms:
56+
- file_name_template: "{{ .ProjectName }}_{{ .Arch }}"
57+
homepage: https://github.com/zackijack/go-project
58+
description: Go project template
59+
formats:
60+
- deb
61+
- rpm

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Go project template
44
## Install
55
You can install the pre-compiled binary in several different ways.
66

7+
#### deb/rpm
8+
Download the `.deb` or `.rpm` from the [releases page](https://github.com/zackijack/go-project/releases) and install with `dpkg -i` and `rpm -i` respectively.
9+
710
#### go get
811
```shell
912
$ go get github.com/zackijack/go-project

0 commit comments

Comments
 (0)