Skip to content

Commit 811adeb

Browse files
committed
fix: Update version conversion logic for release branches in installer workflow
1 parent 23b2055 commit 811adeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-installer-qt6-win64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
shell: cmd
5252

5353
- name: Convert version for dev branch
54-
if: ${{ github.ref_name == 'dev' || github.event.inputs.branch == 'dev' }}
54+
if: ${{ github.ref_name == 'dev' || github.event.inputs.branch == 'dev' || startsWith(github.ref_name, 'release/') || startsWith(github.event.inputs.branch, 'release/') }}
5555
run: |
5656
for /f "tokens=1,2 delims=." %%a in ("%APP_VERSION%") do (
5757
echo APP_VERSION=%%a.%%b-dev>>%GITHUB_ENV%

0 commit comments

Comments
 (0)