fix: remove doubled -alpha-alpha version suffix

CARGO_PKG_VERSION already contains -alpha from Cargo.toml, so the
format!("{}-alpha", ...) was producing 1.2.0-alpha-alpha. Use the
Cargo version directly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-18 11:28:28 +00:00
co-authored by Claude Opus 4.6
parent bccef62585
commit 6f7e5bc034
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ impl DataModel {
Self {
server_info: ServerInfo {
id: uuid::Uuid::new_v4().to_string(),
version: format!("{}-alpha", env!("CARGO_PKG_VERSION")),
version: env!("CARGO_PKG_VERSION").to_string(),
name: Some("Archipelago".to_string()),
pubkey: String::new(),
status_info: StatusInfo {