Skip to content

Commit

Permalink
hardcode version to see if this works
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisAta committed Jun 20, 2024
1 parent facb9e3 commit 4d9a62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Check if package version exists on TestPyPI
run: |
PACKAGE_NAME=kegg-pathways-completeness
VERSION=$(grep 'version' pyproject.toml | cut -d"\"" -f2)
VERSION="1.0.1"
RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" https://test.pypi.org/pypi/${PACKAGE_NAME}/${VERSION}/#history)
if [ $RESPONSE -eq 200 ]; then
echo "Package version already exists on TestPyPI."
Expand Down

0 comments on commit 4d9a62f

Please sign in to comment.