We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2661a2e commit 6f930e5Copy full SHA for 6f930e5
.github/workflows/release.yml
@@ -43,7 +43,7 @@ jobs:
43
- name: Get changelog, tag name, & release name
44
id: variables
45
run: |
46
- VERSION=$(grep "__version__" xmipp3/version.py | sed -E 's/.*"([^"]+)".*/\1/')
+ VERSION=$VERSION=$(sed -nE "s/^__version__[[:space:]]*=[[:space:]]*['\"]([^'\"]+)['\"].*$/\1/p" xmipp3/version.py)
47
TAG_NAME=v$VERSION
48
RELEASE_NAME="Release ${VERSION}"
49
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_OUTPUT
0 commit comments