diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 79b914a..620699e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,3 @@ -variables: - PYTHON3_32: "C:\\python37-32\\python.exe" - NSIS: "C:\\program files (x86)\\nsis\\makensis.exe" - stages: - generate_doc - build @@ -62,4 +58,39 @@ socializer32: artifacts: expire_in: 1 day paths: - - artifacts \ No newline at end of file + - artifacts + +make_installer: + stage: generate_versions + interruptible: true + tags: + - windows10 + only: + - master + - tags + - schedule + variables: + NSIS: "C:\\program files (x86)\\nsis\\makensis.exe" + before_script: + - 'choco upgrade all' + script: + - cd artifacts + - '&$env:NSIS installer.nsi' + artifacts: + paths: + - artifacts + expire_in: 1 day + +upload: + stage: upload + tags: + - docker + image: python + interruptible: true + script: + - cd artifacts + - python ../scripts/upload.py + only: + - master + - tags + - schedules \ No newline at end of file