Skip to content

Commit b076420

Browse files
committed
Updates image creation scripts to run on trunk instead of 5.3
1 parent 5de3c18 commit b076420

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
if: matrix.os == 'ubuntu-latest'
3434
with:
3535
name: image
36-
path: ./deploy/Babylonian-5.3.zip
36+
path: ./deploy/Babylonian-trunk.zip

scripts/build_image.sh

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function print_info {
1111

1212
DEPLOY_PATH="deploy"
1313
BUILD_DIR=.
14-
SMALLTALK_VERSION="5.3"
14+
SMALLTALK_VERSION="trunk"
1515
VM=$SMALLTALK_CI_VM
1616
# ==============================================================================
1717

@@ -26,19 +26,23 @@ COG_VM_PARAM="-nosound -nodisplay"
2626
mkdir -p "${DEPLOY_PATH}"
2727
cd "${DEPLOY_PATH}"
2828

29-
print_info "Downloading Squeak-5.3 image..."
30-
wget http://files.squeak.org/5.3rc3/Squeak5.3rc3-19428-64bit/Squeak5.3rc3-19428-64bit-202002240037-Linux.zip
31-
unzip Squeak5.3rc3-19428-64bit-202002240037-Linux.zip
32-
mv Squeak5.3rc3-19428-64bit-202002240037-Linux Squeak5.3
29+
print_info "Downloading Squeak-trunk image..."
30+
#wget http://files.squeak.org/5.3rc3/Squeak5.3rc3-19428-64bit/Squeak5.3rc3-19428-64bit-202002240037-Linux.zip
31+
#unzip Squeak5.3rc3-19428-64bit-202002240037-Linux.zip
32+
#mv Squeak5.3rc3-19428-64bit-202002240037-Linux Squeak5.3
3333

34-
mv Squeak5.3/shared/*.image "${DEPLOY_IMAGE}"
35-
mv Squeak5.3/shared/*.changes "${DEPLOY_CHANGES}"
36-
mv Squeak5.3/shared/SqueakV50.sources .
34+
wget http://files.squeak.org/6.0alpha/Squeak6.0alpha-19999-64bit/Squeak6.0alpha-19999-64bit-202003021730-Linux.zip
35+
unzip Squeak6.0alpha-19999-64bit-202003021730-Linux.zip
36+
mv Squeak6.0alpha-19999-64bit-202003021730-Linux Squeak-trunk
37+
38+
mv Squeak-trunk/shared/*.image "${DEPLOY_IMAGE}"
39+
mv Squeak-trunk/shared/*.changes "${DEPLOY_CHANGES}"
40+
mv Squeak-trunk/shared/SqueakV50.sources .
3741
cp "../scripts/TextAnchorPlacement.cs" TextAnchorPlacement.cs
3842

3943
print_info "Preparing image..."
4044
EXIT_STATUS=0
41-
Squeak5.3/bin/squeak $COG_VM_PARAM "${DEPLOY_IMAGE}" "../scripts/prepare_image.st" || EXIT_STATUS=$?
45+
Squeak-trunk/bin/squeak $COG_VM_PARAM "${DEPLOY_IMAGE}" "../scripts/prepare_image.st" || EXIT_STATUS=$?
4246

4347
if [[ $EXIT_STATUS -eq 0 ]]; then
4448
zip "${DEPLOY_PACKAGE}" *.image *.changes *.sources

scripts/prepare_image.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ TranscriptStream redirectToStdOut: true.
33
Deprecation showDeprecationWarnings: false.
44

55
"Update the image."
6-
[MCMcmUpdater updateFromServer] valueSupplyingAnswer: true.
6+
"[MCMcmUpdater updateFromServer] valueSupplyingAnswer: true."
77

88
Installer ensureRecentMetacello.
99
Installer installGitInfrastructure.

0 commit comments

Comments
 (0)