Skip to content

Commit 723abfd

Browse files
fix(ci): drop job if guard; use v*.*.* tag filter
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent a43aff4 commit 723abfd

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Release
33
on:
44
push:
55
tags:
6-
- "v*"
6+
# Full semver only — rolling aliases (v1, v1.0) have fewer dots and are skipped.
7+
- "v*.*.*"
78
workflow_dispatch:
89
inputs:
910
version:
@@ -19,10 +20,6 @@ env:
1920

2021
jobs:
2122
release:
22-
# Full semver tags only (exclude rolling aliases v1, v1.0, v1.1).
23-
if: >-
24-
github.event_name == 'workflow_dispatch' ||
25-
(startsWith(github.ref_name, 'v') && length(split(github.ref_name, '.')) == 3)
2623
runs-on: ubuntu-latest
2724
steps:
2825
- name: Checkout

0 commit comments

Comments
 (0)