Skip to content

Commit

Permalink
Adds goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
nickschuch committed Jul 6, 2021
1 parent 78ef486 commit b499e92
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
project_name: skpr-crond

builds:
- id: skpr-crond
main: ./cmd/skpr-crond
binary: skpr-crond
ldflags:
- -extldflags '-static'
env:
- CGO_ENABLED=0
goos: [ linux ]
goarch: [ amd64 ]

release:
prerelease: auto
name_template: "Skpr: Crond {{.Version}}"

github:
owner: skpr
name: crond

nfpms:
- maintainer: Nick Schuch <[email protected]>
description: Sample project.
homepage: https://github.com/skpr/crond
formats:
- deb
- rpm
- apk

0 comments on commit b499e92

Please sign in to comment.