Skip to content

Commit

Permalink
V0.0.5 (#125)
Browse files Browse the repository at this point in the history
* fix for deploy in CI

* reset version
  • Loading branch information
landmanbester authored Dec 13, 2024
1 parent b05de3c commit 955549b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 955549b

Please sign in to comment.