feat(ui): show MeshCore version large and plus version in splash bar

Add MESHCORE_VERSION build flag ("1.15") to companion base configs.
Splash screen now shows MESHCORE_VERSION in the large text and the
plus firmware version (stripped of commit hash) in the Plus bar,
e.g. "1.15" large + "Plus v1.11 for Wio" below.

Change CI tag pattern to v* and simplify version extraction so tag
v1.11 maps directly to FIRMWARE_VERSION=v1.11.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-05-24 00:35:07 +02:00
parent 62cae314f7
commit 34fcab6bd5
4 changed files with 16 additions and 22 deletions

View File

@@ -7,7 +7,7 @@ on:
workflow_dispatch:
push:
tags:
- 'plus_*'
- 'v*'
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#plus_}" >> $GITHUB_ENV
run: echo "GIT_TAG_VERSION=${GITHUB_REF_NAME}" >> $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#plus_}" >> $GITHUB_ENV
run: echo "GIT_TAG_VERSION=${GITHUB_REF_NAME}" >> $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#plus_}" >> $GITHUB_ENV
run: echo "GIT_TAG_VERSION=${GITHUB_REF_NAME}" >> $GITHUB_ENV
- name: Download OLED Firmware
uses: actions/download-artifact@v4