Skip to content

Commit 01bcdce

Browse files
committed
fix: use git fetch --unshallow
1 parent 71bcaec commit 01bcdce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ BUILD_ID=${COMMIT_DATE}-${COMMIT_ABBREV_SHA}
1818
# Dependabot does not work with the BUILD_ID format
1919
# Use a version like tag
2020
if $(git rev-parse --is-shallow-repository); then
21-
git fetch --shallow-since=${COMMIT_DATE}T00:00:00Z --all
21+
git fetch --unshallow
2222
fi
2323
BUILD_NUMBER=$(git rev-list --since=${COMMIT_DATE}T00:00:00Z --first-parent --count ${COMMIT_SHA})
2424
BUILD_ID2=${COMMIT_DATE//-/.}.${BUILD_NUMBER}

0 commit comments

Comments
 (0)