@@ -478,10 +478,10 @@ stages:
478478 artifactName : conda_default
479479
480480 - script : |
481- set -e
481+ set -eux
482482 cd $(System.DefaultWorkingDirectory)
483483 eval "$(conda shell.bash hook)"
484- conda install anaconda-client
484+ conda install -y anaconda-client
485485 anaconda login --username "${CONDA_USERNAME}" --password "${CONDA_PASSWORD}"
486486 anaconda upload --user BCG_Gamma --force $(System.ArtifactsDirectory)/conda_default/conda/noarch/gamma-pytools-*.tar.bz2
487487 anaconda logout
@@ -494,7 +494,7 @@ stages:
494494 CONDA_USERNAME: $(anaconda_user)
495495
496496 - script : |
497- set -e
497+ set -eux
498498 cd $(System.DefaultWorkingDirectory)
499499 pip install flit
500500 flit publish
@@ -582,7 +582,7 @@ stages:
582582 inputs :
583583 targetType : ' inline'
584584 script : |
585- set -e
585+ set -eux
586586 cd $(System.DefaultWorkingDirectory)
587587 git checkout --track origin/github-pages
588588 mkdir -p docs
@@ -597,7 +597,7 @@ stages:
597597 inputs :
598598 targetType : ' inline'
599599 script : |
600- set -e
600+ set -eux
601601 eval "$(conda shell.bash hook)"
602602 cd $(System.DefaultWorkingDirectory)
603603 echo "Checking out $(branchName)"
@@ -615,7 +615,7 @@ stages:
615615 inputs :
616616 targetType : ' inline'
617617 script : |
618- set -e
618+ set -eux
619619 eval "$(conda shell.bash hook)"
620620 cp -r $(Build.ArtifactStagingDirectory)/old_docs/docs .
621621 echo "Current docs contents:"
@@ -634,7 +634,7 @@ stages:
634634 inputs :
635635 targetType : ' inline'
636636 script : |
637- set -e
637+ set -eux
638638 echo "Adjusting git credentials"
639639 git config --global user.name "Azure Pipelines"
640640 git config --global user.email "azuredevops@microsoft.com"
0 commit comments