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..."