Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Jan 10, 2023
1 parent 88ea224 commit 70c9dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

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

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)}
NEW_TAG=${4:-"${GITHUB_REF/refs\/tags\//}"}

if [[ -z $CURRENT_TAG ]]; then
Expand Down

0 comments on commit 70c9dc5

Please sign in to comment.