mirror of
https://github.com/baketnk/frame-yap.git
synced 2026-10-06 02:00:06 +02:00
Pin release installer and accept clean tagged version output
This commit is contained in:
1 parent
2c0e4ca4dc
commit
b3a9d39482
3 files changed
+5
-3
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
@@ -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
@@ -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}")
|
||||
|
||||
Reference in new issue
Block a user