From dcaf214e0c11367d066518311698100843ee88d7 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 3 Nov 2023 17:38:10 +0300 Subject: [PATCH] fix regexp release actions (#26) --- .github/workflows/prerelease.yml | 4 ++-- .github/workflows/release.yml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index aaabc6ff..7e67de4a 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -2,7 +2,7 @@ name: Pre-release on: push: tags: - - '^v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+$' + - 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+' jobs: pre-release: @@ -18,7 +18,7 @@ jobs: run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} - name: Publish GitHub release - uses: "marvinpinto/action-automatic-releases@latest" + uses: "marvinpinto/action-automatic-releases@v1.2.1" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 925a6aca..a2494ba5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release on: push: tags: - - '^v[0-9]+.[0-9]+.[0-9]+$' + - 'v[0-9]+.[0-9]+.[0-9]+' jobs: release: @@ -18,10 +18,11 @@ jobs: run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} - name: Publish GitHub release - uses: "marvinpinto/action-automatic-releases@latest" + uses: "marvinpinto/action-automatic-releases@v1.2.1" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: false + automatic_release_tag: "latest" - name: Create Sentry release uses: getsentry/action-release@v1