File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 28
28
PACKAGE_PATH=$(echo "$TAG_NO_PREFIX" | rev | cut -d'/' -f2- | rev)
29
29
# Extract version to publish from tag
30
30
VERSION="${TAG_NO_PREFIX##*/}"
31
- echo $VERSION
32
31
# Save the path to the module and the version for use in the build/publish step to only update the module associated with this tag
33
32
echo "PACKAGE_PATH=$PACKAGE_PATH" >> $GITHUB_ENV
34
33
echo "VERSION=$VERSION" >> $GITHUB_ENV
38
37
cd $PACKAGE_PATH
39
38
# replace version
40
39
sed -i "s/^version =.*/version = \"${VERSION}\"/" pyproject.toml
41
- poetry publish --build --username="__token__" --no-interaction --password="${{ secrets.PYPI_TOKEN }}"
40
+ poetry publish --build --username="__token__" --no-interaction --password="${{ secrets.PYPI_TOKEN }}"
You can’t perform that action at this time.
0 commit comments