Keep Windows releases on their existing beta channel
Build / macos (push) Successful in 10s
Build / windows (push) Successful in 30s

This commit is contained in:
2026-09-10 09:06:39 +02:00
parent b53bead1d7
commit dd0bf1f634
3 changed files with 9 additions and 13 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ class NoRedirect(urllib.request.HTTPRedirectHandler):
def main():
version = os.environ['VERSION']
channel = os.environ['CHANNEL']
if channel not in ('stable', 'beta', 'windows-beta', 'windows-stable'):
if channel not in ('stable', 'beta', 'windows-beta'):
raise ValueError('Unknown release channel')
if not re.fullmatch(r'\d+\.\d+\.\d+(-beta\.\d+)?', version):
raise ValueError('Invalid release version')
@@ -33,7 +33,7 @@ def main():
artifact = Path('ClaudeChecker-Installer.exe' if windows else 'ClaudeChecker.zip')
notes = Path('windows/RELEASE_NOTES.md' if windows else 'RELEASE_NOTES.md').read_text()
feed = {'stable': 'version.json', 'beta': 'version-beta.json',
'windows-beta': 'version-windows-beta.json', 'windows-stable': 'version-windows.json'}[channel]
'windows-beta': 'version-windows-beta.json'}[channel]
server = os.environ['GITHUB_SERVER_URL'].rstrip('/')
repo = os.environ['GITHUB_REPOSITORY']
opener = urllib.request.build_opener(NoRedirect)