Skip to content

Commit

Permalink
change the getversion command to""
Browse files Browse the repository at this point in the history
  • Loading branch information
elkanamol committed Sep 1, 2024
1 parent 0b86439 commit 3d4b301
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/Build_Executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,9 @@ 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
echo "VERSION=$version" >> $env:GITHUB_OUTPUT
# - name: Release
# uses: softprops/action-gh-release@v2
# with:
# files: dist/sierra-status.exe
# tag_name: v${{ steps.get_version.outputs.VERSION }}
$version = (Get-Content .\sierra_status\__version__.py | Select-String -Pattern "__version__\s*=\s*['\"](.*)['\""]").Matches.Groups[1].Value
echo "VERSION=$version" >> $env:GITHUB_OUTPUT
- name: Release
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit 3d4b301

Please sign in to comment.