File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed
Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 99 "proposals" : [
1010 " latest" ,
1111 " none" ,
12- " 1.27.0" ,
12+ " 1.41.0" ,
13+ " 1.40.5" ,
14+ " 1.39.4" ,
15+ " 1.38.5" ,
16+ " 1.37.2" ,
17+ " 1.36.4" ,
18+ " 1.35.3" ,
19+ " 1.34.3" ,
20+ " 1.33.4" ,
21+ " 1.32.5" ,
22+ " 1.31.3" ,
23+ " 1.30.3" ,
24+ " 1.29.4" ,
25+ " 1.28.3" ,
26+ " 1.27.2" ,
1327 " 1.26.2" ,
1428 " 1.25.4" ,
1529 " 1.24.3"
Original file line number Diff line number Diff line change @@ -21,10 +21,15 @@ check_packages curl unzip ca-certificates
2121echo " Activating feature 'deno'"
2222
2323TARGET_DENO_VERSION=${VERSION:- " latest" }
24+ MIN_ARM_SUPPORT_VERSION=" 1.41.0"
25+ COMPARE_MIN_VERSION=$( echo -e " ${TARGET_DENO_VERSION} \n${MIN_ARM_SUPPORT_VERSION} " | sort -V | head -n1)
2426
25- if [ " ${TARGET_DENO_VERSION} " = " latest" ] || " ${TARGET_DENO_VERSION} " = " none" ;
27+ if [ " ${TARGET_DENO_VERSION} " = " latest" ] || [ " ${TARGET_DENO_VERSION} " = " none" ] ;
2628then
27- curl -fsSL https://gist.githubusercontent.com/LukeChannings/09d53f5c364391042186518c8598b85e/raw/ac8cd8c675b985edd4b3e16df63ffef14d1f0e24/deno_install.sh | DENO_INSTALL=/usr/local sh
29+ curl -fsSL https://deno.land/x/install/install.sh | DENO_INSTALL=/usr/local sh
30+ elif [ " ${TARGET_DENO_VERSION} " = " ${MIN_ARM_SUPPORT_VERSION} " ] || [ " ${COMPARE_MIN_VERSION} " = " ${MIN_ARM_SUPPORT_VERSION} " ];
31+ then
32+ curl -fsSL https://deno.land/x/install/install.sh | DENO_INSTALL=/usr/local sh -s " v${TARGET_DENO_VERSION} "
2833else
2934 curl -fsSL https://gist.githubusercontent.com/LukeChannings/09d53f5c364391042186518c8598b85e/raw/ac8cd8c675b985edd4b3e16df63ffef14d1f0e24/deno_install.sh | DENO_INSTALL=/usr/local sh -s " v${TARGET_DENO_VERSION} "
3035fi
You can’t perform that action at this time.
0 commit comments