Skip to content

Commit aecf3a4

Browse files
TOOL_CURRENT_VERSION fix
1 parent ec17092 commit aecf3a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
ls
4141
ls dist
42-
TOOL_CURRENT_VERSION=`sed -e 's/.*__version__ = "\(.*\)".*/\1/' ${{ env.folder_package_name }}/__init__.py`
42+
TOOL_CURRENT_VERSION=`sed -n 's/.*__version__ = "\(.*\)".*/\1/p' ${{ env.folder_package_name }}/__init__.py`
4343
pip install dist/${{ env.folder_package_name }}-${TOOL_CURRENT_VERSION}-py3-none-any.whl
4444
shell: bash
4545
- name: pip show package

0 commit comments

Comments
 (0)