From 6f525b4f6c194f2e8909276551a03c94cc819279 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 25 Jun 2025 22:14:08 +1200 Subject: [PATCH] Modify bb64/publish.sh --- bb64/publish.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bb64/publish.sh b/bb64/publish.sh index 9c8ac38..bcbc67e 100755 --- a/bb64/publish.sh +++ b/bb64/publish.sh @@ -79,6 +79,13 @@ fi # Create and push git 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 if git rev-parse "$TAG" >/dev/null 2>&1; then echo "Tag $TAG already exists, deleting it first..."