Build a dummy release on Azure Pipelines
@@ -15,20 +15,19 @@ jobs:
inputs:
versionSpec: '3'
- - bash: pip install twine nox setuptools wheel
- displayName: Install dependencies
-
- - bash: nox -s generate_authors
- displayName: Generate AUTHORS.txt
+ - bash: |
+ git config --global user.email "pypa-dev@googlegroups.com"
+ git config --global user.name "pip"
+ displayName: Setup Git credentials
- - bash: nox -s generate_news -- --yes
- displayName: Generate NEWS.rst
+ - bash: pip install nox
+ displayName: Install dependencies
- - bash: python setup.py sdist bdist_wheel
- displayName: Create sdist and wheel
+ - bash: nox -s prepare-release -- 99.9
+ displayName: Prepare dummy release
- - bash: twine check dist/*
- displayName: Check distributions with twine
+ - bash: nox -s build-release -- 99.9
+ displayName: Generate distributions for the dummy release
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: dist'
