Updated gitlab CI

This commit is contained in:
Manuel Cortez 2021-10-26 13:04:49 -05:00
parent 2b059ee42e
commit d222740887

View File

@ -8,7 +8,7 @@ stages:
- make_installer - make_installer
- upload - upload
snapshot32: twblue32:
tags: tags:
- shared-windows - shared-windows
- windows - windows
@ -21,7 +21,6 @@ snapshot32:
- '&$env:PYTHON -V' - '&$env:PYTHON -V'
- '&$env:PYTHON -m pip install --upgrade pip' - '&$env:PYTHON -m pip install --upgrade pip'
- '&$env:PYTHON -m pip install --upgrade -r requirements.txt' - '&$env:PYTHON -m pip install --upgrade -r requirements.txt'
- '&$env:PYTHON -m pip uninstall enum34 -y'
stage: build stage: build
interruptible: true interruptible: true
script: script:
@ -37,7 +36,7 @@ snapshot32:
- '&$env:PYTHON make_archive.py' - '&$env:PYTHON make_archive.py'
- cd .. - cd ..
- mv src/dist artifacts/TWBlue - mv src/dist artifacts/TWBlue
- move src/twblue.zip artifacts/twblue_snapshot_x86.zip - move src/twblue.zip artifacts/twblue_x86.zip
only: only:
- tags - tags
artifacts: artifacts:
@ -45,7 +44,7 @@ snapshot32:
- artifacts - artifacts
expire_in: 1 day expire_in: 1 day
snapshot64: twblue64:
tags: tags:
- shared-windows - shared-windows
- windows - windows
@ -73,7 +72,7 @@ snapshot64:
- '&$env:PYTHON make_archive.py' - '&$env:PYTHON make_archive.py'
- cd .. - cd ..
- mv src/dist artifacts/TWBlue64 - mv src/dist artifacts/TWBlue64
- move src/twblue.zip artifacts/twblue_snapshot_x64.zip - move src/twblue.zip artifacts/twblue_x64.zip
only: only:
- tags - tags
artifacts: artifacts:
@ -96,8 +95,8 @@ generate_versions:
- move artifacts/TWBlue scripts/ - move artifacts/TWBlue scripts/
- move artifacts/TWBlue64 scripts/ - move artifacts/TWBlue64 scripts/
- cd scripts - cd scripts
- '&$env:NSIS twblue_snapshot.nsi' - '&$env:NSIS twblue.nsi'
- move twblue_snapshot_setup.exe ../artifacts - move twblue_setup.exe ../artifacts
only: only:
- tags - tags
artifacts: artifacts: