Skip to content

Commit

Permalink
Issue #74: accept command line gemstone versions and restrict them to…
Browse files Browse the repository at this point in the history
… 3.7.1 or 3.7.2
  • Loading branch information
dalehenrich committed Apr 2, 2024
1 parent 579a7cb commit 2f8ea46
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ BRANCH | STATUS
## Versions
### v4.2
Development version intended for use with GsDevKit_stone:v2 and GemStone 3.5.3 and newer versions of GemStone. github actions for superDoit test 3.6.4 thru 3.6.6, and 3.7.0. while the GsDevKit_stones github actions tests 3.5.3, 3.5.8, 3.6.0.
Note that GemStone 3.7.0 is **unconditionally used for all solo scripts**, which allows for supporting version older that 3.6.4...
Note that GemStone either 3.7.0 or 3.7.1 is **required for all solo scripts**, which allows for supporting versions older that 3.6.4...

### v4.1
Stable branch intended for use with SmalltalkCI, GsDevKit_stones:v1.1.x and versions of GemStone that are shipped with an extent0.rowan.dbf in $GEMSTONE/bin (tested from GemStone 3.6.4 thru 3.7.0).
Expand Down
12 changes: 10 additions & 2 deletions bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@ set -e

# Unconditionally download 3.7.0 along and ignor requested GemStone version.
#
gemstoneversion="3.7.0"
gemstoneversion="$1"
if [ "$gemstoneversion"x = "x" ]; then
exit 0
gemstoneversion="3.7.0"
else
case "$gemstoneversion" in
3.7.0|3.7.1)
"we're good"
;;
*)
echo "only gemstone version 3.7.1 or 3.7.2 should be used"
exit 1
fi
PLATFORM="`uname -sm | tr ' ' '-'`"
case "$PLATFORM" in
Expand Down

0 comments on commit 2f8ea46

Please sign in to comment.