diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2810dad1..bee49d6f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -150,9 +150,13 @@ jobs: deploy: needs: [test] runs-on: ubuntu-latest - # Run on a push to a tag or master if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') steps: + - name: Checkout source + uses: actions/checkout@v4 + with: + fetch-depth: 1 + - name: Set up Python 3.10 uses: actions/setup-python@v5 with: @@ -166,24 +170,23 @@ jobs: - name: Check poetry install run: poetry --version - - name: Checkout source - uses: actions/checkout@v4 - with: - fetch-depth: 1 + - name: Install dependencies + run: poetry install - name: Build distributions run: poetry build - name: Publish distribution to Test PyPI - uses: pypa/gh-action-pypi-publish@1.8.6 + uses: pypa/gh-action-pypi-publish@v1 with: user: __token__ password: ${{ secrets.PYPI_TEST_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ - continue-on-error: false + verbose: true - - name: Publish distribution 📦 to PyPI - uses: pypa/gh-action-pypi-publish@1.8.6 + - name: Publish distribution to PyPI + uses: pypa/gh-action-pypi-publish@v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} + verbose: true diff --git a/pyproject.toml b/pyproject.toml index 9e90c43f..c267f554 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pfb-imaging" -version = "0.0.5" +version = "0.0.4" description = "Radio interferometric imaging suite based on a preconditioned forward-backward approach" authors = ["Landman Bester "] license = "MIT" diff --git a/tbump.toml b/tbump.toml index 09e52ea3..3d4d8c5b 100644 --- a/tbump.toml +++ b/tbump.toml @@ -2,7 +2,7 @@ github_url = "https://github.com/ratt-ru/pfb-imaging/" [version] -current = "0.0.5" +current = "0.0.4" # Example of a semver regexp. # Make sure this matches current_version before