Pin release installer and accept clean tagged version output

This commit is contained in:
baketnk committed 2026-10-04 21:44:18 -04:00
1 parent 2c0e4ca4dc
commit b3a9d39482
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ import urllib.request
KEY = "local.frameyap.overlay"
# The pinned release this installer belongs to (set in the release commit that
# is tagged vRELEASE_VERSION); empty in a development tree.
RELEASE_VERSION = "0.1.202609251524"
RELEASE_VERSION = "0.1.202610050143"
MARKER = "# FrameYap managed launcher v1\n"
ARCHIVE_LIMIT = 12 * 1024**3
MEMBER_LIMIT = 50000
+1 -1
View File
@@ -25,7 +25,7 @@ import urllib.request
KEY = "local.frameyap.overlay"
# The pinned release this installer belongs to (set in the release commit that
# is tagged vRELEASE_VERSION); empty in a development tree.
RELEASE_VERSION = "0.1.202609251524"
RELEASE_VERSION = "0.1.202610050143"
MARKER = "# FrameYap managed launcher v1\n"
ARCHIVE_LIMIT = 12 * 1024**3
MEMBER_LIMIT = 50000
+3 -1
View File
@@ -24,7 +24,9 @@ foreach(mode IN ITEMS default help version invalid extra)
message(FATAL_ERROR "${mode}: exit ${result}, expected ${expected_exit}: ${error}")
endif()
if(mode STREQUAL "version")
string(REPLACE "\n" ";" lines "${output}")
# Remove only the final terminator; a clean release has no git line.
string(REGEX REPLACE "\n$" "" version_lines "${output}")
string(REPLACE "\n" ";" lines "${version_lines}")
list(GET lines 0 first_line)
if(NOT first_line STREQUAL "frameyap ${EXPECTED_VERSION}")
message(FATAL_ERROR "Unexpected version: ${output}")