Skip to content

Commit

Permalink
Merge pull request #34 from MetaSys-LISBP/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
llegregam authored May 22, 2023
2 parents cd46a00 + 1e2e64b commit f9485e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy_test_pypi.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: Build and publish python package to test pypi

on: [push]
on:
release:
types: [ published ]

jobs:
publish-service-client-package:
runs-on: ubuntu-latest
steps:
- name: Publish PyPi package
uses: code-specialist/pypi-poetry-publish@main
uses: code-specialist/pypi-poetry-publish@v1
with:
PACKAGE_DIRECTORY: "./physiofit"
PYTHON_VERSION: "3.10"
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_REGISTRY_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions physiofit/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import importlib.metadata
"""Version changes handled by github action"""

__version__ = importlib.metadata.version("physiofit")
__version__ = "3.0.4"

0 comments on commit f9485e0

Please sign in to comment.