diff --git a/.github/workflows/aar-github-releases.yml b/.github/workflows/aar-github-releases.yml index a64cd80..1066fb8 100644 --- a/.github/workflows/aar-github-releases.yml +++ b/.github/workflows/aar-github-releases.yml @@ -7,7 +7,7 @@ env: on: push: tags: - - "v[0-9]+.[0-9]+.[0-9]+" # Matches "v1.2.3" + - "[0-9]+.[0-9]+.[0-9]+" # Matches "1.2.3" jobs: build: @@ -26,7 +26,7 @@ jobs: uses: gradle/actions/wrapper-validation@v3 - name: Compute Variables - # Remove prefixes from tag, leaving only the X.Y.Z version string. ("refs/tags/v111.22.33" --> "111.22.33") + # Remove prefixes from tag, leaving only the X.Y.Z version string. ("refs/tags/111.22.33" --> "111.22.33") run: | VERSION_NAME=$(echo "${{ github.ref }}" | sed -E 's|^[^0-9]*([0-9]+\.[0-9]+\.[0-9]+).*$|\1|') echo "VERSION_NAME=$VERSION_NAME" >> $GITHUB_ENV