Skip to content

Commit 0d6d94d

Browse files
committed
CI: Stop publishing to test.pypi.org
The idea behind this is to build packages for every commit and ensure things never break. However, we're racing because I typically push the branch followed shortly thereafter by the tag. By time we get to building the package, the tag is available which means pbr is using the next release. However, the job wasn't started by the tag push so we don't build the actual release, leaving that until a later job. We don't really need this as we can always cut a new release later, so simply skip it. Signed-off-by: Stephen Finucane <stephen@that.guru>
1 parent 7d2bea1 commit 0d6d94d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ jobs:
7676
run: python -m pip install build
7777
- name: Build a binary wheel and a source tarball
7878
run: python -m build --sdist --wheel --outdir dist/ .
79-
- name: Publish distribution to Test PyPI
80-
uses: pypa/gh-action-pypi-publish@master
81-
with:
82-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
83-
repository_url: https://test.pypi.org/legacy/
8479
- name: Publish distribution to PyPI
8580
if: startsWith(github.ref, 'refs/tags')
8681
uses: pypa/gh-action-pypi-publish@master

0 commit comments

Comments
 (0)