Skip to content

Commit

Permalink
Added signing of binaries using gon
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Andre Birkedal committed Jan 15, 2020
1 parent 70afbe1 commit a2b89c4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
builds:
- env:
- CGO_ENABLED=0
Expand Down Expand Up @@ -27,4 +25,15 @@ brews:
owner: termoose
name: homebrew-tap
homepage: https://github.com/termoose/irccloud
description: Text-mode terminal client for IRCCloud
description: Text-mode terminal client for IRCCloud
signs:
- signature: "${artifact}.dmg"
ids:
- foo-macos # here we filter the macos only build id
# you'll need to have gon on PATH
cmd: gon
# you can follow the gon docs to properly create the gon.hcl config file:
# https://github.com/mitchellh/gon
args:
- gon.hcl
artifacts: all
6 changes: 6 additions & 0 deletions gon.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source = ["./irccloud"]
bundle_id = "com.termoose.irccloud"

sign {
application_identity = "Developer ID Application: Ole Andre Birkedal"
}

0 comments on commit a2b89c4

Please # to comment.