Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions projects/github.com/kubereboot/kured/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
distributable:
url: https://github.com/kubereboot/kured/archive/{{version.raw}}.tar.gz
strip-components: 1

versions:
github: kubereboot/kured

platforms:
- linux/x86-64
- linux/aarch64
- darwin/x86-64
- darwin/aarch64

build:
dependencies:
go.dev: '*'
script:
- go build $GO_ARGS -ldflags="$LD_FLAGS" ./cmd/kured
env:
CGO_ENABLED: 0
LD_FLAGS:
- -s -w
- -X main.version={{version}}
linux:
LD_FLAGS:
- -buildmode=pie
GO_ARGS:
- -trimpath
- -o={{prefix}}/bin/kured

provides:
- bin/kured

test:
- kured --help 2>&1 | grep -i kured
Loading