Skip to content

Commit 70c9dc5

Browse files
authored
Update entrypoint.sh
1 parent 88ea224 commit 70c9dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ fi
99

1010
git fetch origin +refs/tags/*:refs/tags/*
1111

12-
CURRENT_TAG=${3:-$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)" || true)}
12+
CURRENT_TAG=${3:-$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)" 2>/dev/null || true)}
1313
NEW_TAG=${4:-"${GITHUB_REF/refs\/tags\//}"}
1414

1515
if [[ -z $CURRENT_TAG ]]; then

0 commit comments

Comments
 (0)