meta: add CI to build debian package #1

Merged
restitux merged 33 commits from ci into master 2025-12-24 07:36:36 +00:00
Showing only changes of commit efba990b60 - Show all commits
+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}"