Skip to content

Commit

Permalink
publish on testpypi when pushed to develop
Browse files Browse the repository at this point in the history
  • Loading branch information
olivhoenen committed Jan 10, 2025
1 parent b822e50 commit f3708e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:

publish-to-testpypi:
name: Publish imas-data-dictionary distribution to TestPyPI
if: github.ref=='refs/heads/develop' # only publish to TestPyPI on develop pushes
needs:
- build
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ homepage = "https://github.com/iterorganization/imas-data-dictionary"

[tool.setuptools_scm]
write_to = "data_dictionary/_version.py"
local_scheme = "no-local-version"

[tool.setuptools.packages.find]
where = ["."]
Expand Down

0 comments on commit f3708e0

Please sign in to comment.