Skip to content

Commit cdf71a5

Browse files
authored
Merge pull request #259 from yarikoptic/bf-release
Hardcode the name of the package in release action to avoid needing setuptools and invocation of setup.py
2 parents 330e4e3 + f551c13 commit cdf71a5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ jobs:
2727
token: ${{ secrets.GITHUB_TOKEN }}
2828
pypi-token: ${{ secrets.PYPI_TOKEN }}
2929
pre-tag: |
30-
pip install setuptools # needed for setup.py --version
31-
pkg="$(python setup.py --name)"
32-
printf '__version__ = "%s"\n' "$new_version" > "$pkg"/version.py
33-
git commit -m "Update __version__ to $new_version" "$pkg"/version.py
30+
version_file=datalad_container/version.py
31+
printf '__version__ = "%s"\n' "$new_version" > "$version_file"
32+
git commit -m "Update __version__ to $new_version" "$version_file"
3433
3534
# vim:set et sts=2:

0 commit comments

Comments
 (0)