Skip to content

Commit

Permalink
Merge branch '1.2.x' into 2.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
j-ittner committed Mar 3, 2022
2 parents 93b7cd3 + 51fb941 commit ae895fe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ stages:
build_changed=0
echo "build config is unchanged";
fi
# set +x to prevent Azure from randomly appending a \' of the ## statement
set +x
echo "##vso[task.setvariable variable=conda_build_config_changed;isOutput=true]$build_changed"
Expand Down Expand Up @@ -473,6 +475,8 @@ stages:
prerelease=False
[[ $version == *dev* ]] && prerelease=True && echo "Development release identified"
[[ $version == *rc* ]] && prerelease=True && echo "Pre-release identified"
# set +x to prevent Azure from randomly appending a \' of the ## statement
set +x
echo "##vso[task.setvariable variable=current_version]$version"
echo "##vso[task.setvariable variable=is_prerelease]$prerelease"
displayName: "Get package version"
Expand All @@ -493,6 +497,8 @@ stages:
anaconda login --username "${CONDA_USERNAME}" --password "${CONDA_PASSWORD}"
anaconda upload --user BCG_Gamma --force $(System.ArtifactsDirectory)/conda_default/conda/noarch/$(package_name)-*.tar.bz2
anaconda logout
# set +x to prevent Azure from randomly appending a \' of the ## statement
set +x
echo "##vso[task.setvariable variable=conda_published]True"
displayName: 'Publish to Anaconda'
Expand All @@ -507,6 +513,8 @@ stages:
pip install flit
flit install -s
flit publish
# set +x to prevent Azure from randomly appending a \' of the ## statement
set +x
echo "##vso[task.setvariable variable=pypi_published]True"
displayName: 'Publish to PyPi'
condition: eq(variables['source_is_release_branch'], 'True')
Expand Down

0 comments on commit ae895fe

Please sign in to comment.