Steam Based ID Finiding, Version Control, Storage
All checks were successful
Build and Upload Release (Windows EXE) / Build Windows EXE (release) Successful in 2m32s
All checks were successful
Build and Upload Release (Windows EXE) / Build Windows EXE (release) Successful in 2m32s
This commit is contained in:
@@ -29,6 +29,14 @@ jobs:
|
||||
shell: powershell
|
||||
run: |
|
||||
$ErrorActionPreference = 'Stop'
|
||||
# Stamp version into sealoader_version.py from release tag
|
||||
if ($env:GITHUB_EVENT_NAME -eq 'release') {
|
||||
$tag = '${{ github.event.release.tag_name }}'
|
||||
} else {
|
||||
$tag = (git describe --tags --always) 2>$null
|
||||
if (-not $tag) { $tag = "0.0.0-dev" }
|
||||
}
|
||||
("__version__ = '" + $tag + "'") | Out-File -FilePath sealoader_version.py -Encoding UTF8 -Force
|
||||
# Bundle PNG resources referenced at runtime
|
||||
pyinstaller --noconfirm --onefile --windowed sealoader_gui.py --name SeaLoader `
|
||||
--add-data "SeaLoader.png;." `
|
||||
|
||||
Reference in New Issue
Block a user