Skip to content

Commit

Permalink
update the version searching method
Browse files Browse the repository at this point in the history
  • Loading branch information
elkanamol committed Sep 1, 2024
1 parent 87ce0d3 commit b42c69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Build_Executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Get version
id: get_version
run: |
$version = (Get-Content .\sierra_status\__version__.py | Select-String -Pattern "__version__\s*=\s*['\"](.*)['\"]").Matches.Groups[1].Value
$version = (Get-Content .\sierra_status\__version__.py | Select-String -Pattern "__version__\s*=\s*[\"'](.*)[\""']").Matches.Groups[1].Value
echo "VERSION=$version" >> $env:GITHUB_OUTPUT
- name: Print __version__.py contents
run: |
Expand Down

0 comments on commit b42c69f

Please sign in to comment.