From 030cf0ee05f6cd36dc9642408132d5827aef9c8d Mon Sep 17 00:00:00 2001 From: Itxaka Date: Mon, 8 May 2023 11:11:30 +0200 Subject: [PATCH] Bump kairos-agent and allow rc packages (#211) --- packages/system/kairos-agent/build.yaml | 2 +- packages/system/kairos-agent/definition.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/system/kairos-agent/build.yaml b/packages/system/kairos-agent/build.yaml index 71fadde..b39aa8e 100644 --- a/packages/system/kairos-agent/build.yaml +++ b/packages/system/kairos-agent/build.yaml @@ -12,7 +12,7 @@ env: - LDFLAGS="-s -w -X github.com/kairos-io/kairos/v2/internal/common.VERSION=v${PACKAGE_VERSION}" 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/ - chmod +x /usr/bin/{{.Values.name}} includes: diff --git a/packages/system/kairos-agent/definition.yaml b/packages/system/kairos-agent/definition.yaml index 1560f77..1ede0cd 100644 --- a/packages/system/kairos-agent/definition.yaml +++ b/packages/system/kairos-agent/definition.yaml @@ -1,6 +1,6 @@ name: "kairos-agent" category: "system" -version: "1.0.1" +version: "2.0.0-rc2" labels: github.repo: "kairos-agent" autobump.revdeps: "true"