Skip to content

Commit b1c0bca

Browse files
authored
Merge pull request #318 from cloudflare/mitali/SECENG-9843
SECENG-9843 start publishing rpm and deb packages via goreleaser nfpms
2 parents baf9921 + bb79ea6 commit b1c0bca

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: goreleaser
22

33
on:
44
push:
5+
branches:
6+
- master
57
tags:
68
- "*"
79

.goreleaser.yml

+11
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,14 @@ release:
3939
prerelease: auto
4040
changelog:
4141
sort: asc
42+
nfpms:
43+
- id: keyless-nfpm
44+
package_name: gokeyless
45+
file_name_template: "gokeyless_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
46+
homepage: https://github.com/cloudflare/gokeyless
47+
maintainer: SSL Cloudflare <[email protected]>
48+
description: Go implementation of keyless protocol
49+
license: Cloudflare
50+
formats:
51+
- deb
52+
- rpm

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ release-github:
119119
-v /var/run/docker.sock:/var/run/docker.sock \
120120
-w /go/tmp \
121121
--env GORELEASER_GITHUB_TOKEN \
122-
neilotoole/xcgo:latest goreleaser --rm-dist
122+
neilotoole/xcgo:latest goreleaser release --rm-dist
123123

124124

125125
.PHONY: snapshot

0 commit comments

Comments
 (0)