Try to generate zip versions and installers

This commit is contained in:
Manuel Cortez 2021-06-28 04:16:59 -05:00
parent a27eee1fa2
commit ef443346d1

View File

@ -5,6 +5,7 @@ variables:
stages: stages:
- build - build
- make_installer
- upload - upload
snapshot32: snapshot32:
@ -32,7 +33,11 @@ snapshot32:
- '&$env:PYTHON setup.py build' - '&$env:PYTHON setup.py build'
- cd .. - cd ..
- mkdir artifacts - mkdir artifacts
- cd scripts
- '&$env:PYTHON make_archive.py'
- cd ..
- mv src/dist artifacts/TWBlue - mv src/dist artifacts/TWBlue
- move src/twblue.zip artifacts/twblue_snapshot_x86.zip
only: only:
- next-gen - next-gen
artifacts: artifacts:
@ -64,10 +69,34 @@ snapshot64:
- '&$env:PYTHON setup.py build' - '&$env:PYTHON setup.py build'
- cd .. - cd ..
- mkdir artifacts - mkdir artifacts
- cd scripts
- '&$env:PYTHON make_archive.py'
- cd ..
- mv src/dist artifacts/TWBlue64 - mv src/dist artifacts/TWBlue64
- move src/twblue.zip artifacts/twblue_snapshot_x64.zip
only: only:
- next-gen - next-gen
artifacts: artifacts:
paths: paths:
- artifacts - artifacts
expire_in: 1 day expire_in: 1 day
generate_versions:
tags:
- shared-windows
- windows
- windows-1809
before_script:
- Set-Variable -Name "time" -Value (date -Format "%H:%m")
- echo ${time}
- echo "started by ${GITLAB_USER_NAME}"
- choco install nsis -y -ForceX86
script:
- move artifacts/TWBlue scripts/
- move artifacts/TWBlue64 scripts/
- '&$env:NSIS twblue.nsi'
- move twblue_setup.exe ../artifacts
artifacts:
paths:
- artifacts
expire_in: 1 day