Skip to content

Commit

Permalink
Merge pull request #6238 from rjbou/install-2.3.0-beta1
Browse files Browse the repository at this point in the history
install scripts: add 2.3.0-beta1 binaries
  • Loading branch information
kit-ty-kate authored Oct 15, 2024
2 parents f892a2e + b600f1e commit 625764c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ users)

## Install script
* Add 2.3.0\~alpha1 to the install scripts [#6203 @kit-ty-kate]
* Add 2.3.0~beta1 to the install scripts [#6238 @rjbou]

## Admin

Expand Down
3 changes: 2 additions & 1 deletion shell/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ param (
[string]$OpamBinDir = $null
)

$DevVersion = "2.3.0~alpha1"
$DevVersion = "2.3.0~beta1"
$IsAdmin = (New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
$DefaultBinDir = If ($IsAdmin) {"$Env:ProgramFiles\opam\bin"} Else {"$Env:LOCALAPPDATA\Programs\opam\bin"}

Expand All @@ -31,6 +31,7 @@ $SHA512s = @{
"opam-2.2.0-x86_64-windows.exe" = "171b679c192801f7ec783de4c51d614055cff167d521d31c543b6bed14d9eb3d37a808be4d83ff9acfd0fc1d7008e6582dce245836a51109fc0cb8456528c473";
"opam-2.2.1-x86_64-windows.exe" = "7a6dd3012e5553ab85337411d0a145c5d26ceff30687c5e91aaff81d9bd48bbf1852ae37ca8992d57435838a025557512e6ac6958fba7123bacd21d9a8aba31a";
"opam-2.3.0-alpha1-x86_64-windows.exe" = "2058acf0810c8bbc9d924827484c800b47f74d9c90d70319343a7e8e3ab6592b9f0dea1c76547ea1294b72106c3bcdb91e41718471ec85211ed43d7a8d7372c7";
"opam-2.3.0-beta1-x86_64-windows.exe" = "bbac0c1e217525a62a557b038aa738609d16799588d0cec99e89c10bd20fb5f2b61482f4418bd06cf7f7f5c7da7f1585514bd7fdc2ced2bde9673ede58f23905";
}

Function DownloadAndCheck {
Expand Down
14 changes: 13 additions & 1 deletion shell/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -ue
# (c) Copyright Louis Gesbert OCamlPro 2014-2017

VERSION='2.2.1'
DEV_VERSION='2.3.0~alpha1'
DEV_VERSION='2.3.0~beta1'
DEFAULT_BINDIR=/usr/local/bin

bin_sha512() {
Expand Down Expand Up @@ -293,6 +293,18 @@ bin_sha512() {
opam-2.3.0-alpha1-x86_64-macos) echo "9130b36510550db726770b1e9fe997d681f52fb442f577871ab890c6912b651d036a99d95e4a5d798c39f2a60dc5d7cd127d9647e16a44eb15f1e598ef5e927d";;
opam-2.3.0-alpha1-x86_64-openbsd) echo "c18dca7b55ac2e67c61d4b370dd85348171feac9c4f2ea1ed2f154978ec54b545b540a02264ad29a920082d8aa5ebd82a3472bcee16faf14d33a117e8ea5c077";;

opam-2.3.0-beta1-arm64-linux) echo "34335716803017572d4768766b39501fa19058eba28ca1274c579a17b8966b0420f88f93c5bc5580d18cbdcd8559ca12ea2a06e147fc1eb375837375dcbdbb1e";;
opam-2.3.0-beta1-arm64-macos) echo "0dbb9cda74137d4582269d2a8e2b8137883120d082b8c8330daa4ac2abcb115b254d4f712be1d0a7d6761cd4369b95d6754b5af18144e12e9262286a83743519";;
opam-2.3.0-beta1-armhf-linux) echo "13c6686f5f7ff81a5f4b370816cf91cea113b921db7881fe82404e83ad2818f94d2a6e9788b4bcb740223f4cebe141f1a938e2c0b813529e34297561df74dbb0";;
opam-2.3.0-beta1-i686-linux) echo "aab115d818d08be44d9c10af37e289702f705ccd98d5fa36e7d590d526419e36cf802f787873902a9d5683cefedbc6f32fb1c2f108c546ca52cf5f30dee29e54";;
opam-2.3.0-beta1-ppc64le-linux) echo "5c50bb21c602de678b0f78cb9ea795177b8f163ec1913cdbdafeb7c1007d47984fc81c10d4488a81e3aeb2529865d7ecf61d5f2fa35bb888bfdd15b42b1a82b3";;
opam-2.3.0-beta1-riscv64-linux) echo "491dd23553b343c2b5e88ab118cbb6a434ec689d7aeee030866c6aed747243e7bc2a48749c59069ddf8cf9df28769fd035c785803cbb74ac527133781fbd74cd";;
opam-2.3.0-beta1-s390x-linux) echo "cb2ab8a8e96e86ee61712841aa4e7d9c6792d03c5ba78a56827dbd91b8c704572e8b939ef498b512cf3c751fad8f2d3865d0b080780ed30db0ca0569dddfb65b";;
opam-2.3.0-beta1-x86_64-freebsd) echo "1750da97e7af858b6bd8997da1aa9de949370b7f6a825f7b2ad98eb6ef606bc0c83b6b0fea0ef5e37094790e355892c31128a5b9221a792bf2762773ef5c6ff8";;
opam-2.3.0-beta1-x86_64-linux) echo "184f69ca1ac0053b44aff4b2eb13849acbd4ba59a58734d8153c8f9b48f0adb2a890d18e8c2548cf96590cc52d6a0d3f2b80fa7d6aa7ae4f2d48c74ae8fd6eb4";;
opam-2.3.0-beta1-x86_64-macos) echo "d4623d648a429caca388b77b7f88eb13e5e3bf7e8b354a59e9097e8f764658906d94cf701d0ccc6accf7489002aeabc147d0483b034b15fd98dbd820188e203e";;
opam-2.3.0-beta1-x86_64-openbsd) echo "54f2bb62b72faefc09a55d93299016ef50f2a3b442c471495bdf3d7bc0eb88e237bffa05d6c17dae0d1f8cd403b2cf41740bd296dbbd2564b5d2ee9e37be265b";;

*) echo "no sha";;
esac
}
Expand Down

0 comments on commit 625764c

Please sign in to comment.