Skip to content

Commit 349ff2b

Browse files
committed
CI Adjustments
1 parent c4e4fa0 commit 349ff2b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/auto-tag.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
run: |
3030
BRANCH="${{ github.event.pull_request.head.ref }}"
3131
VERSION="${BRANCH#release/}"
32+
VERSION="${VERSION#v}"
3233
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT"
3334
echo "TAG=v${VERSION}" >> "$GITHUB_OUTPUT"
3435
echo "Detected version: $VERSION (tag: v${VERSION})"

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: Build and Release
22

33
on:
4-
workflow_dispatch:
54
push:
65
tags:
7-
- 'v*.*.*' # Trigger only on version tags like v1.2.3
6+
- 'v[0-9]*.[0-9]*.[0-9]*'# Trigger only on version tags like v1.2.3
87

98
jobs:
109
# --- JOB 1: BUILD ---

0 commit comments

Comments
 (0)