aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-11-16 13:36:06 +0000
committerGravatar Gareth Coles <[email protected]>2018-11-16 13:36:06 +0000
commit463dee7f84c9bc32dc6d07d177a1d42a200b7695 (patch)
tree8bd37ef1633bbde631d6faec7daa1e0459705c26 /scripts
parentAzure: Hopefully that'll do it (diff)
Azure: I'm rewriting this in Python someday
Diffstat (limited to 'scripts')
-rw-r--r--scripts/deploy-azure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh
index 23573df82..5f7666bb0 100644
--- a/scripts/deploy-azure.sh
+++ b/scripts/deploy-azure.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-export SYSTEM_PULLREQUEST_PULLREQUESTID = $SYSTEM_PULLREQUEST_PULLREQUESTID | xargs
+export SYSTEM_PULLREQUEST_PULLREQUESTID="$(echo -e '${SYSTEM_PULLREQUEST_PULLREQUESTID}' | xargs)"
# Build and deploy on master branch, only if not a pull request
if [[ ($BUILD_SOURCEBRANCHNAME == 'master') && ($SYSTEM_PULLREQUEST_PULLREQUESTID == '') ]]; then