diff --git a/.gitlab/windows-build.yml b/.gitlab/windows-build.yml index 0269c0c0..75555151 100644 --- a/.gitlab/windows-build.yml +++ b/.gitlab/windows-build.yml @@ -49,6 +49,7 @@ win-prod-build: paths: - .venv/ rules: + - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" - if: $CI_COMMIT_TAG environment: name: production @@ -72,7 +73,7 @@ win-prod-build: --collect-all pytz --collect-all six after_script: - - echo "JOB_ID=$CI_JOB_ID" >> job.env + - Add-Content -Path job.env -Value "JOB_ID=$CI_JOB_ID" # Download latest: # | https://gitlab.com/crafty-controller/crafty-4/-/jobs/artifacts/master/download?job=win-prod-build