fix: git error 128

This commit is contained in:
Michal Klos
2025-06-23 16:48:45 +02:00
parent bbe75fc4b7
commit f8c96dccb5

View File

@@ -138,12 +138,15 @@ main() {
branch_info_file=$(mktemp)
trap 'rm -f "$branch_info_file"' EXIT
# Ensure we have all git information
git fetch --prune origin || true
# Validate script requirements
validate_requirements
git config --global user.email "droneci@placeholder.com"
git config --global user.name "Drone CI"
# Ensure we have all git information
git fetch --prune origin || true
# Parse repository information
parse_repo_info || exit 1