automation: implement "publish-windows-artifacts" command
The new command and associated functionality can be used to automate the publishing of Windows release artifacts. It supports uploading wheels to PyPI (using twine) and copying the artifacts to mercurial-scm.org and updating the latest.dat file to advertise them via the website. I ran `automation.py publish-windows-artifacts 5.1.1` and it appeared to "just work." But the real test will be to do this on the next release... Differential Revision: https://phab.mercurial-scm.org/D6786
Showing
- contrib/automation/README.rst 22 additions, 0 deletionscontrib/automation/README.rst
- contrib/automation/hgautomation/cli.py 36 additions, 0 deletionscontrib/automation/hgautomation/cli.py
- contrib/automation/hgautomation/pypi.py 25 additions, 0 deletionscontrib/automation/hgautomation/pypi.py
- contrib/automation/hgautomation/windows.py 174 additions, 0 deletionscontrib/automation/hgautomation/windows.py
- contrib/automation/requirements.txt 38 additions, 3 deletionscontrib/automation/requirements.txt
- contrib/automation/requirements.txt.in 1 addition, 0 deletionscontrib/automation/requirements.txt.in
- tests/test-check-code.t 1 addition, 0 deletionstests/test-check-code.t
contrib/automation/hgautomation/pypi.py
0 → 100644
Please register or sign in to comment