Skip to content

Commit

Permalink
fix regexp release actions (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvuwei authored Nov 3, 2023
1 parent 6d538ba commit dcaf214
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit dcaf214

Please sign in to comment.