Skip to content

Commit f5886fc

Browse files
authored
fixed distroRid having the last version digit for alpine (#62942)
1 parent 4e27865 commit f5886fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/native/init-distro-rid.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ initNonPortableDistroRid()
4141
# We have forced __PortableBuild=0. This is because -portablebuld
4242
# has been passed as false.
4343
if (( isPortable == 0 )); then
44-
if [[ "${ID}" == "rhel" || "${ID}" == "rocky" ]]; then
44+
if [[ "${ID}" == "rhel" || "${ID}" == "rocky" || "${ID}" == "alpine" ]]; then
4545
# remove the last version digit
4646
VERSION_ID="${VERSION_ID%.*}"
4747
fi

0 commit comments

Comments
 (0)