Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
initial auto-release scaffolding
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Weiss committed Apr 14, 2018
1 parent 2d878fd commit b11b7a5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

dist/
21 changes: 21 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
builds:
- binary: oscalkit
main: ./cli/main.go
ldflags: -s -w -X github.com/opencontrol/oscalkit/cli/version.Version={{.Version}} -X github.com/opencontrol/oscalkit/cli/version.Commit={{.Commit}} -X github.com/opencontrol/oscalkit/cli/version.Date={{.Date}}
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- amd64

nfpm:
homepage: https://github.com/opencontrol/oscalkit
license: CC0 1.0
dependencies:
- xmllint
formats:
- deb
- rpm

0 comments on commit b11b7a5

Please sign in to comment.