Skip to content

Commit 1149dd2

Browse files
corrected location of version file in the publish action (#8)
1 parent 6a253a7 commit 1149dd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# from refs/tags/v1.2.3 get 1.2.3
2222
VERSION=$(echo $GITHUB_REF | sed 's#.*/v##')
2323
PLACEHOLDER='__version__ = "develop"'
24-
VERSION_FILE='jz_hydra_submitit_launcher/__init__.py'
24+
VERSION_FILE='hydra_plugins/jz_hydra_submitit_launcher/__init__.py'
2525
2626
# ensure the placeholder is there. If grep doesn't find the placeholder
2727
# it exits with exit code 1 and github actions aborts the build.
@@ -39,4 +39,4 @@ jobs:
3939
TWINE_USERNAME: __token__
4040
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
4141
run: |
42-
twine upload dist/*
42+
twine upload dist/*

0 commit comments

Comments
 (0)