TEST
Build Coredns with netboxdns plugin / build (push) Failing after -2s

This commit is contained in:
2025-12-23 22:58:47 -07:00
parent e81ce40e61
commit efba990b60
+1 -1
View File
@@ -19,7 +19,7 @@ main() {
# get latest tag (annotated or lightweight)
git clone --depth=1 --filter=blob:none --tags "${COREDNS_REPO_URL}" "${COREDNS_DIR}"
cd "${COREDNS_DIR}"
LATEST_TAG="$(git describe --tags "$(git rev-list --tags --max-count=1)")"
LATEST_TAG="$(git tag --list --sort=-version:refname | head -n 1)"
git fetch --tags --depth=1 origin "${LATEST_TAG}"
git checkout "${LATEST_TAG}"