Try App Version again
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -115,6 +115,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
OS_NAME: ${{ matrix.os-name }}
|
OS_NAME: ${{ matrix.os-name }}
|
||||||
run: |
|
run: |
|
||||||
|
python ./build-app_version.py
|
||||||
python ./resources/ci/common/prepare_appversion.py
|
python ./resources/ci/common/prepare_appversion.py
|
||||||
python ./resources/ci/common/prepare_release.py
|
python ./resources/ci/common/prepare_release.py
|
||||||
# upload appversion artifact for later step
|
# upload appversion artifact for later step
|
||||||
|
|||||||
5
build-app_version.py
Normal file
5
build-app_version.py
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
from Main import __version__ as DRVersion
|
||||||
|
import os
|
||||||
|
|
||||||
|
with(open(os.path.join("resources","app","manifests","app_version.txt"))) as f:
|
||||||
|
f.write(DRVersion)
|
||||||
Reference in New Issue
Block a user