mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
fix build_info.json
This commit is contained in:
@@ -68,7 +68,9 @@ jobs:
|
||||
|
||||
- name: Inject commit hash into code
|
||||
run: |
|
||||
echo "version = '${GITHUB_SHA}'" > build_info.json
|
||||
echo '{' > build_info.json
|
||||
echo " \"version\": \"${GITHUB_SHA}\"" >> build_info.json
|
||||
echo '}' >> build_info.json
|
||||
|
||||
- name: Build executable with PyInstaller
|
||||
run: pyinstaller --onefile --windowed --add-data "build_info.json:." --name ${{ env.APP_NAME }} main.py
|
||||
|
||||
Reference in New Issue
Block a user