ci: change tag pattern to plus_* and fix version extraction

Trigger workflow on tags matching plus_* instead of wio-tracker-v*.
Extract version as v<x.y> from plus_<x.y> tag format.
Also update firmware filenames in README to match renamed env names.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-05-24 00:18:31 +02:00
parent 137b0234d5
commit 62cae314f7
2 changed files with 7 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ on:
workflow_dispatch:
push:
tags:
- 'wio-tracker-v*'
- 'plus_*'
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
@@ -22,7 +22,7 @@ jobs:
uses: actions/checkout@v4
- name: Extract Version from Git Tag
run: echo "GIT_TAG_VERSION=v${GITHUB_REF_NAME#*-v}" >> $GITHUB_ENV
run: echo "GIT_TAG_VERSION=v${GITHUB_REF_NAME#plus_}" >> $GITHUB_ENV
- name: Setup Build Environment
uses: ./.github/actions/setup-build-environment
@@ -46,7 +46,7 @@ jobs:
uses: actions/checkout@v4
- name: Extract Version from Git Tag
run: echo "GIT_TAG_VERSION=v${GITHUB_REF_NAME#*-v}" >> $GITHUB_ENV
run: echo "GIT_TAG_VERSION=v${GITHUB_REF_NAME#plus_}" >> $GITHUB_ENV
- name: Setup Build Environment
uses: ./.github/actions/setup-build-environment
@@ -69,7 +69,7 @@ jobs:
steps:
- name: Extract Version from Git Tag
run: echo "GIT_TAG_VERSION=v${GITHUB_REF_NAME#*-v}" >> $GITHUB_ENV
run: echo "GIT_TAG_VERSION=v${GITHUB_REF_NAME#plus_}" >> $GITHUB_ENV
- name: Download OLED Firmware
uses: actions/download-artifact@v4