mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-27 20:05:34 +08:00
Update download.sh for v6.0.0-alpha.14
This commit is contained in:
parent
cb55171276
commit
48b8542ada
@ -8,7 +8,7 @@ trap '
|
||||
' INT
|
||||
|
||||
get_url() {
|
||||
release=v6.0.0-alpha.11
|
||||
release=v6.0.0-alpha.14
|
||||
echo "https://github.com/PowerShell/PowerShell/releases/download/$release/$1"
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ case "$OSTYPE" in
|
||||
sudo yum install -y curl
|
||||
fi
|
||||
|
||||
package=powershell-6.0.0_alpha.11-1.el7.centos.x86_64.rpm
|
||||
package=powershell-6.0.0_alpha.14-1.el7.centos.x86_64.rpm
|
||||
;;
|
||||
ubuntu)
|
||||
if ! hash curl 2>/dev/null; then
|
||||
@ -34,10 +34,10 @@ case "$OSTYPE" in
|
||||
|
||||
case "$VERSION_ID" in
|
||||
14.04)
|
||||
package=powershell_6.0.0-alpha.11-1ubuntu1.14.04.1_amd64.deb
|
||||
package=powershell_6.0.0-alpha.14-1ubuntu1.14.04.1_amd64.deb
|
||||
;;
|
||||
16.04)
|
||||
package=powershell_6.0.0-alpha.11-1ubuntu1.16.04.1_amd64.deb
|
||||
package=powershell_6.0.0-alpha.14-1ubuntu1.16.04.1_amd64.deb
|
||||
;;
|
||||
*)
|
||||
echo "Ubuntu $VERSION_ID is not supported!" >&2
|
||||
@ -51,7 +51,7 @@ case "$OSTYPE" in
|
||||
;;
|
||||
darwin*)
|
||||
# We don't check for curl as macOS should have a system version
|
||||
package=powershell-6.0.0-alpha.11.pkg
|
||||
package=powershell-6.0.0-alpha.14.pkg
|
||||
;;
|
||||
*)
|
||||
echo "$OSTYPE is not supported!" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user