Unverified Commit 937d546a authored by Rick Mesta's avatar Rick Mesta Committed by GitHub
Browse files

NAS-116011 / 22.02.1 / Merge pull request #22 from truenas/fix-tag-issue-22

Fix version scheme issues for containerd
No related merge requests found
Showing with 5 additions and 3 deletions
+5 -3
......@@ -8,9 +8,11 @@ TREE_STATE=clean
COMMIT=$DRONE_COMMIT
if [ -d .git ]; then
if [ -z "$GIT_TAG" ]; then
GIT_TAG=$(git tag -l --contains HEAD | head -n 1)
fi
# We comment out the version tag bit as our versioning scheme is not liked by containerd and it fails to start
# So we instead rely on the git commit hash to identify the k3s version running in the scale system
# if [ -z "$GIT_TAG" ]; then
# GIT_TAG=$(git tag -l --contains HEAD | head -n 1)
# fi
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
DIRTY="-dirty"
TREE_STATE=dirty
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment