We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d1dc06 commit d57683aCopy full SHA for d57683a
.github/workflows/release.yaml
@@ -372,8 +372,9 @@ jobs:
372
- name: Build 🔧
373
run: |
374
# Keep maximum k3s version (by semver)
375
+ # add a "v" in front and a "-k3s1" at the end to match the k3s versioning
376
k3s_version=$(echo '${{ needs.get-standard-matrix.outputs.matrix }}' | \
- jq -r '.include | map(.k3s_version) | unique | max_by(split("+")[0] | split(".") | map(tonumber))')
377
+ jq -r '.include | map(.k3s_version) | unique | max_by(split("+")[0] | split(".") | map(tonumber))' | sed -E 's/\+.*//; s/^/v/; s/$/-k3s1/')
378
379
version=$(git describe --always --tags --dirty)
380
0 commit comments