File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,10 @@ jobs:
5050 - name : Verify commit exists in remote branch
5151 run : |
5252 if [[ "${{ github.ref }}" == refs/tags/* && "${{ github.event_name }}" == "release" && ("${{ github.event.action }}" == "published" || "${{ github.event.action }}" == "prereleased") ]]; then
53- git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
53+ git fetch --no-tags --prune --depth=50 origin +refs/heads/*:refs/remotes/origin/*
5454 git branch --remote --contains | grep -E 'origin/(main|release/)'
5555 else
56- git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
56+ git fetch --no-tags --prune --depth=50 origin +refs/heads/*:refs/remotes/origin/*
5757 git branch --remote --contains | grep origin/${BRANCH_NAME}
5858 fi
5959 - name : Set VERSION variable
You can’t perform that action at this time.
0 commit comments