mirror of
https://github.com/zoorpha/rustshare-obsidian-plugin.git
synced 2026-07-22 07:48:14 +00:00
chore: change release tags trigger and condition to match version formatting without 'v' prefix
Signed-off-by: Zoorpha <aaron@kubedo.com>
This commit is contained in:
parent
b572a34caa
commit
dcd6d28936
1 changed files with 3 additions and 3 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -5,7 +5,7 @@ on:
|
|||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*'
|
||||
- '[0-9]*'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
|
@ -42,7 +42,7 @@ jobs:
|
|||
run: npm run build
|
||||
|
||||
- name: Generate Release
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
--prerelease=false
|
||||
|
||||
- name: Attest Build Provenance
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: actions/attest-build-provenance@v2
|
||||
with:
|
||||
subject-path: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue