fix(k9s): use version attribute for builds (#1096)

Co-authored-by: Thomas Thephasdin <thomas.thephasdin@ecolytiq.com>
This commit is contained in:
Thomas Thephasdin
2024-10-07 14:14:28 +02:00
committed by GitHub
parent 9232f7eed6
commit 542e91d932
2 changed files with 3 additions and 4 deletions

View File

@@ -5,10 +5,10 @@ requires:
env:
- PATH=$PATH:/usr/local/go/bin
- CGO_ENABLED=0
- PACKAGE_VERSION={{ .Values.tag }}
- PACKAGE_VERSION={{ .Values.version }}
prelude:
- |
PACKAGE_VERSION=v${PACKAGE_VERSION%\-*} && \
PACKAGE_VERSION=v${PACKAGE_VERSION%\+*} && \
git clone --depth=1 --branch ${PACKAGE_VERSION} https://github.com/derailed/k9s
steps:
- |

View File

@@ -1,7 +1,6 @@
name: "k9s"
category: "utils"
version: "0.32.5"
tag: "0.31.7"
version: "0.32.5+1"
platform: Linux
labels:
github.repo: "k9s"