File tree Expand file tree Collapse file tree 4 files changed +28
-17
lines changed
Expand file tree Collapse file tree 4 files changed +28
-17
lines changed Original file line number Diff line number Diff line change 11name : deploy
22
33on :
4- push :
5- tags :
6- - " [0-9]+.[0-9]+.[0-9]+"
4+ workflow_dispatch :
5+ inputs :
6+ version :
7+ description : ' Release version'
8+ required : true
9+ default : ' 1.2.3'
710
811jobs :
912
1013 deploy :
1114 runs-on : ubuntu-latest
15+ environment : deploy
16+ permissions :
17+ id-token : write # For PyPI trusted publishers.
18+ contents : write # For tag and release notes.
19+ env :
20+ SETUPTOOLS_SCM_PRETEND_VERSION : ${{ github.event.inputs.version }}
1221
1322 steps :
1423 - uses : actions/checkout@v3
2332 path : dist
2433
2534 - name : Publish package to PyPI
26- uses : pypa/gh-action-pypi-publish@master
27- with :
28- user : __token__
29- password : ${{ secrets.pypi_token }}
35+ 3036
31- - name : Set up Python
32- 37+ - uses : actions-ecosystem/action-push-tag@v1
3338 with :
34- python-version : " 3.10 "
39+ tag : ${{ github.event.inputs.version }}
Original file line number Diff line number Diff line change 1+ 0.3.0 (UNRELEASED)
2+ ------------------
3+
4+ * `#20 <https://github.com/pytest-dev/pytest-reportlog/issues/20 >`_: Warnings are now included in the logs.
5+
6+
170.2.1 (2023-03-11)
28------------------
39
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ Here are the steps on how to make a new release.
2+
3+ 1. Create a ``release-VERSION `` branch from ``upstream/main ``.
4+ 2. Update ``CHANGELOG.rst ``.
5+ 3. Push the branch to ``upstream ``.
6+ 4. Once all tests pass, start the ``deploy `` workflow manually.
7+ 5. Merge the PR.
You can’t perform that action at this time.
0 commit comments