Skip to content

Commit 02d287c

Browse files
committed
Add nfpms & fury package
1 parent 73719e9 commit 02d287c

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/.goreleaser.default.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,22 @@ brews:
118118
system "#{bin}/numary version"
119119
install: |
120120
bin.install "numary"
121+
122+
nfpms:
123+
- id: packages
124+
package_name: numary
125+
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
126+
builds:
127+
- numary_linux
128+
homepage: https://numary.com
129+
maintainer: Maxence Maireaux <maxence@numary.com>
130+
formats:
131+
- deb
132+
- rpm
133+
134+
publishers:
135+
- name: fury.io
136+
ids:
137+
- packages
138+
dir: "{{ dir .ArtifactPath }}"
139+
cmd: curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/numary/

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ jobs:
9090
- name: Run GoReleaser
9191
env:
9292
GITHUB_TOKEN: ${{ secrets.NUMARY_GITHUB_TOKEN }}
93+
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
9394
uses: goreleaser/goreleaser-action@v2
9495
with:
9596
version: latest

0 commit comments

Comments
 (0)