Skip to content

Conversation

@nastyagrifon
Copy link

@nastyagrifon nastyagrifon commented Feb 11, 2026

This PR replaces the hardcoded version strings in src/util/version.rs with the CARGO_PKG_VERSION environment variable provided by Cargo at build time.

Changes:

  • UI now always displays the actual version defined in Cargo.toml.

  • Fixes the bug where the Admin Panel incorrectly reports v2.0.4 and prompts for an update.

@nastyagrifon
Copy link
Author

nastyagrifon commented Feb 12, 2026

Tested by manually setting version of microbin 2.1.1 and 2.0.4 to confirm the logic works.

@nastyagrifon nastyagrifon marked this pull request as ready for review February 12, 2026 00:15
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.

1 participant