Skip to content

Commit

Permalink
update: init CI via go-releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
paepckehh committed Oct 20, 2024
1 parent 8fc9a35 commit a20b233
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
44 changes: 44 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
builds:
-
id: "opnborg"
binary: opnborg
main: ./cmd/opnborg/main.go
env:
- CGO_ENABLED=0
goos:
- linux
- freebsd
- darwin
- windows
goarch:
- amd64
- arm
- arm64
goarm:
- 7
archives:
-
id: opnborg-binaries
name_template: "opnborg-{{ .Os }}_{{ .Arch }}_{{ .Version }}"
files:
- LICENSE.md
- README.md
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
nfpms:
-
file_name_template: "opnborg_package_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
vendor: Michael Paepcke
homepage: https://paepcke.de/opnborg
maintainer: Michael Paepcke <[email protected]>
description: opnborg
license: BSD 3-Clause
formats:
- deb
- rpm
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

// global const
const _version = "v0.1.5"
const _version = "v0.1.6"

// global var
var (
Expand Down

0 comments on commit a20b233

Please sign in to comment.