Skip to content

Commit

Permalink
corrected location of version file in the publish action (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaccharieramzi authored Aug 18, 2022
1 parent 6a253a7 commit 1149dd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# from refs/tags/v1.2.3 get 1.2.3
VERSION=$(echo $GITHUB_REF | sed 's#.*/v##')
PLACEHOLDER='__version__ = "develop"'
VERSION_FILE='jz_hydra_submitit_launcher/__init__.py'
VERSION_FILE='hydra_plugins/jz_hydra_submitit_launcher/__init__.py'
# ensure the placeholder is there. If grep doesn't find the placeholder
# it exits with exit code 1 and github actions aborts the build.
Expand All @@ -39,4 +39,4 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
twine upload dist/*
twine upload dist/*

0 comments on commit 1149dd2

Please sign in to comment.