Skip to content

Commit bb79ea6

Browse files
committed
SECENG-9843 start publishing rpm packages via goreleaser
1 parent baf9921 commit bb79ea6

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
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

Lines changed: 11 additions & 0 deletions
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 <security-engineering@cloudflare.com>
48+
description: Go implementation of keyless protocol
49+
license: Cloudflare
50+
formats:
51+
- deb
52+
- rpm

Makefile

Lines changed: 1 addition & 1 deletion
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)