From 1e169648840413777a125f398b659cc40c77b5d1 Mon Sep 17 00:00:00 2001 From: Christoph Thiede Date: Tue, 26 Dec 2023 19:51:44 +0100 Subject: [PATCH] fix self-update for squeak60 --- .../TraceDebugger.class/class/defaultSelfUpdateBranch.st | 4 ++++ .../TraceDebugger.class/methodProperties.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/TraceDebugger.package/TraceDebugger.class/class/defaultSelfUpdateBranch.st b/packages/TraceDebugger.package/TraceDebugger.class/class/defaultSelfUpdateBranch.st index 62c463d6..c3548e0b 100644 --- a/packages/TraceDebugger.package/TraceDebugger.class/class/defaultSelfUpdateBranch.st +++ b/packages/TraceDebugger.package/TraceDebugger.class/class/defaultSelfUpdateBranch.st @@ -1,6 +1,7 @@ app - self-updating defaultSelfUpdateBranch + | squeakVersion | (self environment classNamed: #MCRepositoryGroup) ifNotNil: [:mcRepositoryGroupClass | | repoPrefix | repoPrefix := 'github://{1}/{2}' format: {self githubRepositoryParams first. self githubRepositoryParams second}. @@ -11,4 +12,7 @@ defaultSelfUpdateBranch version := repo projectVersion. ^ version = 'master' ifTrue: ['main'] ifFalse: [version]]]. + squeakVersion := SystemVersion current version. + squeakVersion isAlpha ifTrue: [^ 'main']. + squeakVersion majorMinorVersion = 'Squeak6.0' ifTrue: [^ 'squeak60']. ^ 'main' \ No newline at end of file diff --git a/packages/TraceDebugger.package/TraceDebugger.class/methodProperties.json b/packages/TraceDebugger.package/TraceDebugger.class/methodProperties.json index bd89d78f..ee512005 100644 --- a/packages/TraceDebugger.package/TraceDebugger.class/methodProperties.json +++ b/packages/TraceDebugger.package/TraceDebugger.class/methodProperties.json @@ -6,7 +6,7 @@ "cleanUp" : "ct 7/30/2022 17:14", "cursorClass" : "ct 11/18/2021 18:05", "defaultFeedbackText" : "ct 10/18/2022 16:42", - "defaultSelfUpdateBranch" : "ct 11/19/2022 00:55", + "defaultSelfUpdateBranch" : "ct 6/3/2023 20:00", "doNotBroadcastPreferenceChangesDuring:" : "ct 7/30/2022 17:13", "exampleCoroutines1" : "ct 12/30/2021 17:26", "exampleCoroutines2" : "ct 2/9/2022 01:56",