| Restore full history and tags for dynamic versioning |
if git show-ref --verify --quiet refs/tags/clai2-bleeding; then
git tag -d clai2-bleeding
fi
if [ -f "$(git rev-parse --git-dir)/shallow" ]; then
git fetch --unshallow --tags origin
else
git fetch --tags origin
fi
|