From 63190c5cc05877f18f866ec186183c12a5fd461e Mon Sep 17 00:00:00 2001 From: Bryan Thornbury Date: Wed, 20 Jan 2016 20:07:40 +0000 Subject: [PATCH] Use Release Suffix instead of CHANNEL for determining last deb packge --- scripts/package/package-debian.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/package/package-debian.sh b/scripts/package/package-debian.sh index c8f8b2a6e..35fabb8e1 100755 --- a/scripts/package/package-debian.sh +++ b/scripts/package/package-debian.sh @@ -35,7 +35,7 @@ MANPAGE_DIR="$REPOROOT/Documentation/manpages" NIGHTLY_PACKAGE_NAME="dotnet-nightly" RELEASE_PACKAGE_NAME="dotnet" -[ -z "$CHANNEL" ] && CHANNEL="dev" +[ -z "$RELEASE_SUFFIX" ] && RELEASE_SUFFIX="dev" execute_build(){ determine_package_name @@ -97,7 +97,7 @@ test_debian_package(){ header "Testing debian package" # Set LAST_VERSION_URL to enable upgrade tests - export LAST_VERSION_URL="https://dotnetcli.blob.core.windows.net/dotnet/$CHANNEL/Installers/Latest/dotnet-ubuntu-x64.latest.deb" + export LAST_VERSION_URL="https://dotnetcli.blob.core.windows.net/dotnet/$RELEASE_SUFFIX/Installers/Latest/dotnet-ubuntu-x64.latest.deb" rm -rf $TEST_STAGE_DIR git clone https://github.com/sstephenson/bats.git $TEST_STAGE_DIR