Skip to content

Commit

Permalink
Fix CI for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-zen committed Sep 7, 2024
1 parent ad9d582 commit 334ca7d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ jobs:
uses: actions/download-artifact@v4
with:
name: python-packages
path: dist

- name: Publish to PyPI
env:
Expand All @@ -164,8 +165,7 @@ jobs:
- check-version

steps:
- if: ${{ env.DOCKER_USERNAME != '' }}
uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ publish-dist: $(VENV_DIR)
echo "$(BOLDRED)==> Missing PYPI_TOKEN !!!$(RESET)"; \
exit 1; \
fi
@$(VENV_DIR)/bin/twine upload --username __token__ --password $(PYPI_TOKEN) dist/*
@for package in $$(ls dist); do \
echo "- $$package"; \
done
@$(VENV_DIR)/bin/twine upload $(TWINE_UPLOAD_ARGS) --username __token__ --password $(PYPI_TOKEN) dist/*

.PHONY: install
install-dev: $(VENV_DIR)
Expand Down
2 changes: 1 addition & 1 deletion oncodrivefml/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__logger_name__ = 'oncodrivefml'
__version__ = "2.5.0"
__version__ = "2.5.0rc1"

0 comments on commit 334ca7d

Please sign in to comment.