Bump kairos-agent and allow rc packages (#211)

This commit is contained in:
Itxaka
2023-05-08 11:11:30 +02:00
committed by GitHub
parent 6670f78159
commit 030cf0ee05
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ env:
- LDFLAGS="-s -w -X github.com/kairos-io/kairos/v2/internal/common.VERSION=v${PACKAGE_VERSION}" - LDFLAGS="-s -w -X github.com/kairos-io/kairos/v2/internal/common.VERSION=v${PACKAGE_VERSION}"
steps: steps:
- | - |
PACKAGE_VERSION=${PACKAGE_VERSION%\-*} && \ PACKAGE_VERSION=${PACKAGE_VERSION%\+*} && \
cd go/src/github.com/${GITHUB_ORG}/{{ .Values.name }}/ && git checkout v"${PACKAGE_VERSION}" -b build && go build -o {{ .Values.name }} -ldflags="${LDFLAGS}" && mv {{.Values.name}} /usr/bin/ cd go/src/github.com/${GITHUB_ORG}/{{ .Values.name }}/ && git checkout v"${PACKAGE_VERSION}" -b build && go build -o {{ .Values.name }} -ldflags="${LDFLAGS}" && mv {{.Values.name}} /usr/bin/
- chmod +x /usr/bin/{{.Values.name}} - chmod +x /usr/bin/{{.Values.name}}
includes: includes:

View File

@@ -1,6 +1,6 @@
name: "kairos-agent" name: "kairos-agent"
category: "system" category: "system"
version: "1.0.1" version: "2.0.0-rc2"
labels: labels:
github.repo: "kairos-agent" github.repo: "kairos-agent"
autobump.revdeps: "true" autobump.revdeps: "true"