Skip to content

Update version string management#811

Merged
HylianFreddy merged 1 commit intogamestabled:mainfrom
HylianFreddy:version-string
Apr 10, 2026
Merged

Update version string management#811
HylianFreddy merged 1 commit intogamestabled:mainfrom
HylianFreddy:version-string

Conversation

@HylianFreddy
Copy link
Copy Markdown
Collaborator

@HylianFreddy HylianFreddy commented Apr 8, 2026

This changes how the version string displayed in the app is computed, making the process more automatic.

The new bash script write_version.sh generates a header file with a macro for the version string, handling both the GitHub Action inputs and the local build:

  • for Release versions, the string will be like 'vX.Y', without the commit SHA which was previously included;
  • for Nightly versions, it will be 'Nightly-xxxxxx' with the commit SHA (previously it was 'vX.Y-xxxxxx');
  • for local builds, it will be 'dev-xxxxxx' with the commit SHA, instead of the previous hardcoded 'v4.0-develop'.

A couple of issues are also fixed:

  • the linux_build_rando.sh script will now error out if a build step fails, so the Action will properly terminate.
  • the descriptions for Release versions will show the correct QR codes images (previously the URL was mistakenly including the word 'Nightly')

@HylianFreddy HylianFreddy merged commit 5a3076d into gamestabled:main Apr 10, 2026
2 checks passed
@HylianFreddy HylianFreddy deleted the version-string branch April 10, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants