Skip to content

Commit db27fb8

Browse files
committed
update goreleaser config
1 parent 4f3bc9b commit db27fb8

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.goreleaser.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ builds:
1212
goarm:
1313
- "6"
1414
main: .
15+
flags: -trimpath
1516
ldflags: -s -w -X github.com/ncsa/ssh-auditor/cmd.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -extldflags "-static"
1617
binary: ssh-auditor
1718
archives:
@@ -37,21 +38,12 @@ nfpms:
3738
-
3839
description: scan for weak ssh passwords on your network
3940
license: University of Illinois/NCSA Open Source License (NCSA)
40-
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
41+
file_name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
4142
bindir: /usr/bin
4243
homepage: https://github.com/ncsa/ssh-auditor
4344
maintainer: Justin Azoff <jazoff@illinois.edu>
4445
formats:
4546
- deb
4647
- rpm
47-
sign:
48-
cmd: gpg
49-
args:
50-
- --output
51-
- $signature
52-
- --detach-sig
53-
- $artifact
54-
signature: ${artifact}.sig
55-
artifacts: none
5648
env_files:
5749
github_token: ~/.config/goreleaser/github_token

0 commit comments

Comments
 (0)