Skip to content

Commit

Permalink
Format main.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Dec 21, 2021
1 parent f740b04 commit 3757daf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ if [[ "${GITHUB_REF:?}" != "refs/tags/"* ]]; then
fi
tag="${GITHUB_REF#refs/tags/}"


if [[ ! "${tag}" =~ ^${prefix}-?v?[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z_0-9\.-]+)?(\+[a-zA-Z_0-9\.-]+)?$ ]]; then
error "invalid tag format: '${tag}'"
exit 1
Expand Down

0 comments on commit 3757daf

Please sign in to comment.