From 7d4af686806de0ee0e3f467726036d9b87985daa Mon Sep 17 00:00:00 2001 From: onalante-msft <89409054+onalante-msft@users.noreply.github.com> Date: Wed, 10 Aug 2022 09:30:16 -0700 Subject: [PATCH] Inherit `VERSION` for IIS build in ARM64 Mariner --- builds/misc/templates/build-packages.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/builds/misc/templates/build-packages.yaml b/builds/misc/templates/build-packages.yaml index d8bc9b28ca1..a6b4cf0b602 100644 --- a/builds/misc/templates/build-packages.yaml +++ b/builds/misc/templates/build-packages.yaml @@ -308,18 +308,17 @@ stages: set -ex git clone --recurse-submodules https://github.com/Azure/iot-identity-service.git pushd iot-identity-service - packageVersion=$(git tag | grep 1.3.[0-9]*$ | sort --version-sort -r | head -1) sudo docker run --rm \ -v "$(Build.SourcesDirectory)/iot-identity-service:/src" \ -e "ARCH=$PACKAGE_ARCH" \ -e "OS=$OS:$OSVERSION" \ - -e "PACKAGE_VERSION=$packageVersion" \ + -e "PACKAGE_VERSION=$VERSION" \ -e "PACKAGE_RELEASE=1" \ --privileged \ "ubuntu:18.04" \ '/src/ci/package.sh' popd - sudo cp iot-identity-service/packages/mariner$(os_version)/$(arch)/aziot-identity-service-$packageVersion-1.cm$(os_version).$(arch).rpm . + sudo cp iot-identity-service/packages/mariner$(os_version)/$(arch)/aziot-identity-service-$VERSION-1.cm$(os_version).$(arch).rpm . sudo rm -rf iot-identity-service - bash: |