diff options
author | Wes Haggard <weshaggard@users.noreply.github.com> | 2018-04-24 17:05:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-24 17:05:45 -0700 |
commit | 482099f5fba1f1e4567d86ad57b79f99ad73ba65 (patch) | |
tree | b85438468fec1157b4b8b8f53f6e53b2adc828a6 /build-test.sh | |
parent | 1c584d894c143410397230af718401347447beef (diff) | |
parent | 41de28be0d29c2da2185c31440c4b71f11a8b6f2 (diff) | |
download | coreclr-482099f5fba1f1e4567d86ad57b79f99ad73ba65.tar.gz coreclr-482099f5fba1f1e4567d86ad57b79f99ad73ba65.tar.bz2 coreclr-482099f5fba1f1e4567d86ad57b79f99ad73ba65.zip |
Merge pull request #17747 from weshaggard/RemoveAlpineBuild
Remove Alpine 3.6 builds
Diffstat (limited to 'build-test.sh')
-rwxr-xr-x | build-test.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/build-test.sh b/build-test.sh index 3a4b30e589..77b98e76d7 100755 --- a/build-test.sh +++ b/build-test.sh @@ -20,14 +20,12 @@ initHostDistroRid() elif [ -e /etc/os-release ]; then source /etc/os-release if [[ $ID == "alpine" ]]; then - # remove the last version digit - VERSION_ID=${VERSION_ID%.*} + __HostDistroRid="linux-musl-$__HostArch" else __PortableBuild=1 + __HostDistroRid="$ID.$VERSION_ID-$__HostArch" fi - - __HostDistroRid="$ID.$VERSION_ID-$__HostArch" - fi + fi elif [ "$__HostOS" == "FreeBSD" ]; then __freebsd_version=`sysctl -n kern.osrelease | cut -f1 -d'.'` __HostDistroRid="freebsd.$__freebsd_version-$__HostArch" |