Skip to content

Commit

Permalink
fix build version
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Jun 3, 2024
1 parent c6207e7 commit ba02c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
echo "tag: ${{ steps.changes.outputs.tag }}"
echo "changes: ${{ steps.changes.outputs.changes }}"
echo ${{ github.sha }} > Release.txt
(Get-Content config.py) -replace 'version = "v0.0.1"', 'version = "${{ steps.tagName.outputs.tag }}"' | Set-Content config.py
(Get-Content config.py) -replace 'version = "v\d+\.\d+\.\d+"', 'version = "${{ steps.tagName.outputs.tag }}"' | Set-Content config.py
pyinstaller main.spec
python -m ok.update.gen_md5 .\dist\bundle
mv dist/bundle ok-baijing
Expand Down

0 comments on commit ba02c70

Please sign in to comment.