diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b38703..9fb690e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,32 +1,18 @@ --- name: "Release" - on: - push: - tags: - - "v[0-9].[0-9].[0-9][0-9]-*" - - "v[0-9].[0-9].[0-9][0-9]" - + push: + tags: + - "v[0-9]+\\.[0-9]+\\.[0-9]+-*" + - "v[0-9]+\\.[0-9]+\\.[0-9]+" + jobs: tagged-release: name: "Tagged Release" runs-on: "ubuntu-latest" steps: - # ... - - name: "Build & test" - run: | - echo "done!" - - - uses: "marvinpinto/action-automatic-releases@latest" - if: contains(github.ref, '-') - with: - title: "GoBlitz ${{ github.ref }}" - repo_token: "${{ secrets.API_TOKEN }}" - prerelease: true - - uses: "marvinpinto/action-automatic-releases@latest" - if: contains(github.ref, '-') with: title: "GoBlitz ${{ github.ref }}" repo_token: "${{ secrets.API_TOKEN }}"