Skip to content

Commit

Permalink
Fix variable reference in packages release script (#7175)
Browse files Browse the repository at this point in the history
A script in our packages release pipeline referenced a variable using ADO pipeline variable syntax, which isn't available within a bash script. ADO makes pipeline variables available to bash scripts as environment variables with a certain naming convention, so I fixed the script by using that syntax instead.

I ran the release pipeline and confirmed that it succeeded.

## Azure IoT Edge PR checklist:
  • Loading branch information
damonbarry authored Dec 11, 2023
1 parent 7b1d45b commit 32086c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/linux/publishReleasePackages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ sudo rm -rf $WDIR/private-key.pem || true
sudo rm -f $SETTING_FILE || true

#Download Secrets - Requires az login and proper subscription to be selected
az keyvault secret download --vault-name $(kv.name.release) \
az keyvault secret download --vault-name $KV_NAME_RELEASE \
-n iotedge-pmc-client-auth-prod \
-o tsv \
--query 'value' \
Expand Down

0 comments on commit 32086c5

Please sign in to comment.