Skip to content

Commit

Permalink
update goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Azoff committed Jun 24, 2021
1 parent 4f3bc9b commit db27fb8
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ builds:
goarm:
- "6"
main: .
flags: -trimpath
ldflags: -s -w -X github.com/ncsa/ssh-auditor/cmd.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -extldflags "-static"
binary: ssh-auditor
archives:
Expand All @@ -37,21 +38,12 @@ nfpms:
-
description: scan for weak ssh passwords on your network
license: University of Illinois/NCSA Open Source License (NCSA)
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
file_name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
bindir: /usr/bin
homepage: https://github.com/ncsa/ssh-auditor
maintainer: Justin Azoff <jazoff@illinois.edu>
formats:
- deb
- rpm
sign:
cmd: gpg
args:
- --output
- $signature
- --detach-sig
- $artifact
signature: ${artifact}.sig
artifacts: none
env_files:
github_token: ~/.config/goreleaser/github_token

0 comments on commit db27fb8

Please # to comment.