Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
burner1024 committed Feb 20, 2021
1 parent d63aeac commit 546d707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ short_sha="$(git rev-parse --short HEAD)"
version="git$short_sha"
if [[ ! -z "${GITHUB_REF-}" ]]; then
if echo "$GITHUB_REF" | grep "refs/tags"; then # tagged
version="$(echo $GITHUB_REF | sed 's|refs\/tags||')"
version="$(echo $GITHUB_REF | sed 's|refs\/tags\/||')"
fi
fi

Expand Down

0 comments on commit 546d707

Please sign in to comment.