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 5475b27 commit 681a3abCopy full SHA for 681a3ab
.github/workflows/release.yml
@@ -51,7 +51,7 @@ jobs:
51
- name: Read Current Version
52
id: get_version
53
run: |
54
- VERSION=$(grep '^__version__ =' cli_monitor.py | cut -d '"' -f2)
+ VERSION=$(grep -m 1 '^__version__ =' cli_monitor.py | cut -d'=' -f2 | tr -d ' "')
55
echo "CURRENT_VERSION=$VERSION" >> $GITHUB_ENV
56
57
- name: Determine Version Increment
0 commit comments