We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88ea224 commit 70c9dc5Copy full SHA for 70c9dc5
entrypoint.sh
@@ -9,7 +9,7 @@ fi
9
10
git fetch origin +refs/tags/*:refs/tags/*
11
12
-CURRENT_TAG=${3:-$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)" || true)}
+CURRENT_TAG=${3:-$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)" 2>/dev/null || true)}
13
NEW_TAG=${4:-"${GITHUB_REF/refs\/tags\//}"}
14
15
if [[ -z $CURRENT_TAG ]]; then
0 commit comments