diff options
author | Pradyun Gedam <pradyunsg@gmail.com> | 2019-11-03 09:45:47 +0530 |
---|---|---|
committer | Pradyun Gedam <pradyunsg@gmail.com> | 2019-11-03 14:48:21 +0530 |
commit | fca613b3812a42da9f3b15ce6b485279c0148515 (patch) | |
tree | cffff861103eb870fef8e037ca44075cb9869a32 /.azure-pipelines | |
parent | 1a28d31002fb5db9e8692e60047ba4fd48561c4e (diff) | |
download | pip-fca613b3812a42da9f3b15ce6b485279c0148515.tar.gz |
Build a dummy release on Azure Pipelines
Diffstat (limited to '.azure-pipelines')
-rw-r--r-- | .azure-pipelines/jobs/package.yml | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/.azure-pipelines/jobs/package.yml b/.azure-pipelines/jobs/package.yml index 5ab5be31f..8663720de 100644 --- a/.azure-pipelines/jobs/package.yml +++ b/.azure-pipelines/jobs/package.yml @@ -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' |