Skip to content

Commit

Permalink
Switch to using real pypi (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
asherf authored May 1, 2023
1 parent a0c2909 commit 608823d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ jobs:
name: pre-release django-prometheus
permissions:
id-token: write
# environment:
# name: pypi
# url: https://test.pypi.org/p/django-prometheus/
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -28,10 +25,9 @@ jobs:
run: python update_version_from_git.py
- name: Build
run: python -m build
- name: Publish to TEST PyPI
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.5
with:
repository-url: https://test.pypi.org/legacy/
skip-existing: true
verbose: true
print-hash: true
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@ jobs:
pip install wheel setuptools packaging twine build --upgrade
- name: Build
run: python -m build
- name: Publish to TEST PyPI
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.5
with:
repository-url: https://test.pypi.org/legacy/
skip-existing: true
verbose: true
print-hash: true
Expand Down

0 comments on commit 608823d

Please sign in to comment.