There was an error while loading. Please reload this page.
1 parent 80a38c8 commit 35923e3Copy full SHA for 35923e3
1 file changed
azure-pipelines.yml
@@ -41,7 +41,8 @@ stages:
41
TAG="${TAG#v}"
42
export SETUPTOOLS_SCM_PRETEND_VERSION="$TAG"
43
echo "Using package version: $SETUPTOOLS_SCM_PRETEND_VERSION"
44
- python setup.py sdist
+ python -m pip install build
45
+ python -m build --sdist --outdir dist
46
python -m twine upload -r "bitbloom-artifacts" --config-file $(PYPIRC_PATH) dist/*.tar.gz
47
displayName: "Building and publishing sdist package"
48
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
0 commit comments