File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed
Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -32,20 +32,24 @@ jobs:
3232 git config --global user.email "[email protected] " 3333 git commit -m "Switch xmipp from devel to release"
3434
35- - name : Build and publish
36- env :
37- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
38- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
39- run : |
40- python -m build --no-isolation
41- twine upload dist/* -c "${{ secrets.PYPI_COMMENT }}"
35+ # - name: Build and publish
36+ # env:
37+ # TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
38+ # TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
39+ # run: |
40+ # python -m build --no-isolation
41+ # twine upload dist/* -c "${{ secrets.PYPI_COMMENT }}"
4242
4343 - name : Get changelog, tag name, & release name
4444 id : variables
4545 run :
46- TAG_NAME=$(grep "_pluginVersion" xmipp3/version.py | sed -E 's/.*"([^"]+)".*/\1/')
47- RELEASE_NAME="Release ${TAG_NAME}"
46+ VERSION=$(grep "__version__" xmipp3/version.py | sed -E 's/.*"([^"]+)".*/\1/')
47+ TAG_NAME=v$VERSION
48+ RELEASE_NAME="Release ${VERSION}"
4849 echo "TAG_NAME=$TAG_NAME" >> $GITHUB_OUTPUT
50+ echo "RELEASE_NAME=$RELEASE_NAME" >> $GITHUB_OUTPUT
51+ echo "Tag name=$TAG_NAME"
52+ echo "Release name=$RELEASE_NAME"
4953
5054 - name : Generate tag
5155 id : tag_version
You can’t perform that action at this time.
0 commit comments