Modify gitlab CI configuration to generate both alpha and stable versions
This commit is contained in:
parent
833c089a27
commit
2e025ebf20
@ -1,4 +1,32 @@
|
|||||||
production:
|
# Jobs to build the two channels in Socializer.
|
||||||
|
alpha:
|
||||||
|
type: deploy
|
||||||
|
tags:
|
||||||
|
- windows
|
||||||
|
script:
|
||||||
|
- pip install --upgrade pip
|
||||||
|
- pip install --upgrade -r requirements.txt
|
||||||
|
- copy changelog.md doc\changelog.md
|
||||||
|
- cd doc
|
||||||
|
- python documentation_importer.py
|
||||||
|
- cd ..\src
|
||||||
|
- python ..\doc\generator.py
|
||||||
|
- python write_version_data.py
|
||||||
|
- python setup.py py2exe
|
||||||
|
- cd ..
|
||||||
|
- cd scripts
|
||||||
|
- python prepare_zipversion.py
|
||||||
|
- cd ..
|
||||||
|
- move src\socializer.zip socializer.zip
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- socializer.zip
|
||||||
|
name: socializer
|
||||||
|
expire_in: 1 week
|
||||||
|
|
||||||
|
stable:
|
||||||
type: deploy
|
type: deploy
|
||||||
tags:
|
tags:
|
||||||
- windows
|
- windows
|
||||||
@ -17,10 +45,9 @@ production:
|
|||||||
- cd ..
|
- cd ..
|
||||||
- move src\socializer.zip socializer.zip
|
- move src\socializer.zip socializer.zip
|
||||||
only:
|
only:
|
||||||
- schedules
|
|
||||||
- tags
|
- tags
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- socializer.zip
|
- socializer.zip
|
||||||
name: socializer
|
name: socializer
|
||||||
expire_in: 1 week
|
expire_in: 1 month
|
Loading…
Reference in New Issue
Block a user