Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Dec 17, 2023
1 parent 7edd936 commit 39a39f3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,17 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Publish package distributions to PyPI
- name: Install packaging-related tool
run:
pip install twine wheel semantic-release
poetry version $(semantic-release print-version)
poetry build
twine upload dist/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}
python3 -m pip install build twine

- name: Build package
run: |
poetry version $(git describe --tags --abbrev=0)
python -m build --sdist --wheel --outdir dist/ .
ls dist/
# # - name: Publish package distributions to GitHub Releases
# - name: Build and Publish
Expand Down
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 = "nbiatoolkit"
version = "0.4.3"
version = "v0.4.3"
description = "A python package to query the National Biomedical Imaging Archive (NBIA) database."
authors = ["Jermiah Joseph"]
license = "MIT"
Expand Down

0 comments on commit 39a39f3

Please sign in to comment.