Skip to content

Commit 35923e3

Browse files
committed
new attempted fix
1 parent 80a38c8 commit 35923e3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

azure-pipelines.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ stages:
4141
TAG="${TAG#v}"
4242
export SETUPTOOLS_SCM_PRETEND_VERSION="$TAG"
4343
echo "Using package version: $SETUPTOOLS_SCM_PRETEND_VERSION"
44-
python setup.py sdist
44+
python -m pip install build
45+
python -m build --sdist --outdir dist
4546
python -m twine upload -r "bitbloom-artifacts" --config-file $(PYPIRC_PATH) dist/*.tar.gz
4647
displayName: "Building and publishing sdist package"
4748
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))

0 commit comments

Comments
 (0)