Skip to content

Commit 299a85c

Browse files
committed
fix: trigger GUI AOT build on v* tags (same as CLI)
1 parent db6c648 commit 299a85c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release-aot-gui.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
build:
13-
if: startsWith(github.ref_name, 'gui-v') || github.event_name == 'workflow_dispatch'
13+
if: startsWith(github.ref_name, 'v') || github.event_name == 'workflow_dispatch'
1414

1515
strategy:
1616
fail-fast: false
@@ -51,6 +51,7 @@ jobs:
5151
shell: bash
5252
run: |
5353
VERSION="${GITHUB_REF_NAME#gui-v}"
54+
VERSION="${VERSION#v}"
5455
if [ -z "$VERSION" ] || [ "$VERSION" = "$GITHUB_REF_NAME" ]; then VERSION="0.0.1"; fi
5556
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
5657

0 commit comments

Comments
 (0)