Skip to content

Commit

Permalink
Merge pull request #318 from cloudflare/mitali/SECENG-9843
Browse files Browse the repository at this point in the history
SECENG-9843 start publishing rpm and deb packages via goreleaser nfpms
  • Loading branch information
mitalirawat authored Apr 6, 2023
2 parents baf9921 + bb79ea6 commit b1c0bca
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: goreleaser

on:
push:
branches:
- master
tags:
- "*"

Expand Down
11 changes: 11 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,14 @@ release:
prerelease: auto
changelog:
sort: asc
nfpms:
- id: keyless-nfpm
package_name: gokeyless
file_name_template: "gokeyless_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
homepage: https://github.com/cloudflare/gokeyless
maintainer: SSL Cloudflare <[email protected]>
description: Go implementation of keyless protocol
license: Cloudflare
formats:
- deb
- rpm
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ release-github:
-v /var/run/docker.sock:/var/run/docker.sock \
-w /go/tmp \
--env GORELEASER_GITHUB_TOKEN \
neilotoole/xcgo:latest goreleaser --rm-dist
neilotoole/xcgo:latest goreleaser release --rm-dist


.PHONY: snapshot
Expand Down

0 comments on commit b1c0bca

Please sign in to comment.