Skip to content

Commit

Permalink
[CI] An attempt to fix PyPI publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Miku Laitinen committed May 7, 2024
1 parent 82463c6 commit 2938fb0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
python-version: 3.9
- name: Install dependencies
run: |
python setup.py install
python -m pip install --upgrade pip
pip install .
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
Expand All @@ -45,13 +45,13 @@ jobs:
--wheel
--outdir dist/
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true
repository-url: https://test.pypi.org/legacy/
skip-existing: true
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import unittest

version = "2.0.2"
version = "2.0.3rc1"

setup(name="ofxstatement-revolut",
version=version,
Expand Down

0 comments on commit 2938fb0

Please sign in to comment.