Modify bb64/publish.sh
Some checks failed
Build-Test-Publish / build (linux/amd64) (push) Failing after 24s
Build-Test-Publish / build (linux/arm64) (push) Failing after 27s
Build-Test-Publish / test-install-from-scratch (linux/amd64) (push) Has been skipped
Build-Test-Publish / test-install-from-scratch (linux/arm64) (push) Has been skipped

This commit is contained in:
Your Name 2025-06-25 22:14:08 +12:00
parent ed13bdb5b5
commit 6f525b4f6c

View File

@ -79,6 +79,13 @@ fi
# Create and push git tag # Create and push git tag
echo "Creating git tag $TAG..." echo "Creating git tag $TAG..."
# Configure git identity if not set (for CI environments)
if ! git config user.email >/dev/null 2>&1; then
git config user.email "ci@gitea.jde.nz"
git config user.name "CI Bot"
fi
# Check if tag already exists # Check if tag already exists
if git rev-parse "$TAG" >/dev/null 2>&1; then if git rev-parse "$TAG" >/dev/null 2>&1; then
echo "Tag $TAG already exists, deleting it first..." echo "Tag $TAG already exists, deleting it first..."