Quellcode durchsuchen

Update capture-build-details.sh

Jonas Björkert vor 1 Jahr
Ursprung
Commit
4ab5ac1e84
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      scripts/capture-build-details.sh

+ 1 - 1
scripts/capture-build-details.sh

@@ -32,7 +32,7 @@ else
     # Determine the branch or tag information, or fallback to SHA if in detached state
     # Determine the branch or tag information, or fallback to SHA if in detached state
     git_branch_or_tag="${git_branch:-${git_tag}}"
     git_branch_or_tag="${git_branch:-${git_tag}}"
     if [ -z "${git_branch_or_tag}" ]; then
     if [ -z "${git_branch_or_tag}" ]; then
-        git_branch_or_tag="detached-${git_commit_sha}"
+        git_branch_or_tag="detached"
     fi
     fi
 
 
     # Update BuildDetails.plist with the branch or tag information
     # Update BuildDetails.plist with the branch or tag information