pull/184/head
Michele Locati 2020-11-06 18:05:34 +01:00
parent f9f060c1a7
commit 534c57350d
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ jobs:
if: github.event_name == 'create' && github.event.ref_type == 'tag' if: github.event_name == 'create' && github.event.ref_type == 'tag'
run: | run: |
VERSIONTAG_THIS="${GITHUB_REF#refs/tags/}" VERSIONTAG_THIS="${GITHUB_REF#refs/tags/}"
if "$VERSIONTAG_THIS" = "$VERSIONTAG_LAST"; then if test "$VERSIONTAG_THIS" = "$VERSIONTAG_LAST"; then
if printf '%s' "$VERSIONTAG_THIS" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$'; then if printf '%s' "$VERSIONTAG_THIS" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$'; then
printf 'Tag %s is version-like\n' "$VERSIONTAG_THIS" printf 'Tag %s is version-like\n' "$VERSIONTAG_THIS"
else else