Updated CI Script
This commit is contained in:
parent
f1def25bb5
commit
35c1a754f3
@ -88,7 +88,7 @@ documentation:
|
|||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
alpha32:
|
32bits:
|
||||||
<<: *configure_environment
|
<<: *configure_environment
|
||||||
stage: build
|
stage: build
|
||||||
interruptible: true
|
interruptible: true
|
||||||
@ -99,12 +99,12 @@ alpha32:
|
|||||||
- '&$env:PYTHON3_32 documentation_importer.py'
|
- '&$env:PYTHON3_32 documentation_importer.py'
|
||||||
- cd ..\src
|
- cd ..\src
|
||||||
- '&$env:PYTHON3_32 ..\doc\generator.py'
|
- '&$env:PYTHON3_32 ..\doc\generator.py'
|
||||||
# Writes version info useful for alphas.
|
# Write version info useful for updates.
|
||||||
- '&$env:PYTHON3_32 write_version_data.py'
|
- '&$env:PYTHON3_32 write_version_data.py'
|
||||||
# build it all.
|
# build it all.
|
||||||
- '&$env:PYTHON3_32 setup.py build'
|
- '&$env:PYTHON3_32 setup.py build'
|
||||||
# Once built, makes the installer for for alpha.
|
# Once built, make the installer.
|
||||||
- '&$env:NSIS installer_alpha.nsi'
|
- '&$env:NSIS installer.nsi'
|
||||||
- cd ..
|
- cd ..
|
||||||
- mkdir artifacts
|
- mkdir artifacts
|
||||||
- move src\socializer* artifacts\
|
- move src\socializer* artifacts\
|
||||||
@ -112,7 +112,7 @@ alpha32:
|
|||||||
# Zips the folder in order to create the portable socializer version.
|
# Zips the folder in order to create the portable socializer version.
|
||||||
- '&$env:PYTHON3_32 prepare_zipversion.py'
|
- '&$env:PYTHON3_32 prepare_zipversion.py'
|
||||||
- cd ..
|
- cd ..
|
||||||
- move src\socializer.zip artifacts\socializer_x86_alpha.zip
|
- move src\socializer.zip artifacts\socializer_x86.zip
|
||||||
- '&$env:PYTHON3_32 scripts/generate_update_file.py'
|
- '&$env:PYTHON3_32 scripts/generate_update_file.py'
|
||||||
- move *.json artifacts
|
- move *.json artifacts
|
||||||
only:
|
only:
|
||||||
@ -122,34 +122,6 @@ alpha32:
|
|||||||
- artifacts
|
- artifacts
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
|
|
||||||
# Generates a new stable version of the application every tag.
|
|
||||||
stable:
|
|
||||||
<<: *configure_environment
|
|
||||||
stage: build
|
|
||||||
interruptible: true
|
|
||||||
script:
|
|
||||||
- copy changelog.md doc\changelog.md
|
|
||||||
- cd doc
|
|
||||||
- '&$env:PYTHON3_32 documentation_importer.py'
|
|
||||||
- cd ..\src
|
|
||||||
- '&$env:PYTHON3_32 ..\doc\generator.py'
|
|
||||||
- '&$env:PYTHON3_32 write_version_data.py'
|
|
||||||
- '&$env:PYTHON3_32 setup.py build'
|
|
||||||
- '&$env:NSIS installer.nsi'
|
|
||||||
- cd ..
|
|
||||||
- mkdir artifacts
|
|
||||||
- move src\socializer* artifacts\
|
|
||||||
- cd scripts
|
|
||||||
- '&$env:PYTHON3_32 prepare_zipversion.py'
|
|
||||||
- cd ..
|
|
||||||
- move src\socializer.zip artifacts\socializer_x86.zip
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- artifacts
|
|
||||||
expire_in: 1 day
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
stage: upload
|
stage: upload
|
||||||
tags:
|
tags:
|
||||||
|
Loading…
Reference in New Issue
Block a user