Skip to content

Commit

Permalink
Inherit VERSION for IIS build in ARM64 Mariner
Browse files Browse the repository at this point in the history
  • Loading branch information
onalante-msft committed Aug 10, 2022
1 parent c15f277 commit 7d4af68
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions builds/misc/templates/build-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 7d4af68

Please sign in to comment.