Skip to content

Commit

Permalink
updated release for packaging to prod pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
rileypriddle committed Apr 15, 2022
1 parent b30b408 commit 3205395
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,9 @@ jobs:
password: ${{ secrets.TEST_PYPIP_TOKEN }}
repository_url: https://test.pypi.org/legacy/

- name: Publish distribution 📦 to Test PyPI
- name: Publish distribution 📦 to PyPI if triggered by release
if: github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@v1.5.0
with:
user: __token__
password: ${{ secrets.TEST_PYPIP_TOKEN }}
repository_url: https://test.pypi.org/legacy/
# - name: Publish distribution 📦 to PyPI if triggered by release
# if: github.event_name == 'release'
# uses: pypa/gh-action-pypi-publish@v1.5.0
# with:
# user: __token__
# password: ${{ secrets.PYPIP_TOKEN }}
password: ${{ secrets.PYPIP_TOKEN }}
2 changes: 1 addition & 1 deletion pointsecio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
Api = FlaskApi

# This version is replaced during release process.
__version__ = '2020.0.dev1'
__version__ = '2022.0.dev1'

0 comments on commit 3205395

Please sign in to comment.