diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b22f8710..f388cdd0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,10 +1,10 @@ name: Release on: - push: - tags: - # run only against tags that follow semver (https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string) - - 'v[0-9]+.[0-9]+.[0-9]+*' + push: + tags: + - 'v*.*.*' + - 'v*.*.*-*' concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} @@ -33,9 +33,6 @@ jobs: TAGS: ${{ steps.meta.outputs.tags }} VERSION: ${{ steps.meta.outputs.version }} steps: - - name: validate tag - run: echo ${{ github.ref_name }} | grep -qE '^v[0-9]+\.[0-9]+\.[0-9]+(-rc\.[0-9]+)?$' - - name: Prepare run: | platform=${{ matrix.platform }}