Skip to content

Commit 681a3ab

Browse files
authored
Fix for grep version
1 parent 5475b27 commit 681a3ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Read Current Version
5252
id: get_version
5353
run: |
54-
VERSION=$(grep '^__version__ =' cli_monitor.py | cut -d '"' -f2)
54+
VERSION=$(grep -m 1 '^__version__ =' cli_monitor.py | cut -d'=' -f2 | tr -d ' "')
5555
echo "CURRENT_VERSION=$VERSION" >> $GITHUB_ENV
5656
5757
- name: Determine Version Increment

0 commit comments

Comments
 (0)