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:
Zoorpha 2026-06-22 22:22:18 +02:00
parent b572a34caa
commit dcd6d28936

View file

@ -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: |