Skip to content

Commit

Permalink
Merge pull request #350 from xiaods/dev
Browse files Browse the repository at this point in the history
fix version.sh check tag logic
  • Loading branch information
xiaods authored Oct 21, 2024
2 parents da665c5 + 83ac729 commit 39aed9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if [ -z "$VERSION_CRICTL" ]; then
fi

VERSION_K8S_K8E=$(get-module-version k8s.io/kubernetes)
VERSION_K8S=${VERSION_K8S_K8E%"-k3s1"}
VERSION_K8S=${VERSION_K8S_K8E%-k3s*}
if [ -z "$VERSION_K8S" ]; then
VERSION_K8S="v0.0.0"
fi
Expand Down

0 comments on commit 39aed9f

Please sign in to comment.