mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Use add content instead of echo
Any kind of piping or echo creates a UCS-2 LE BOM, and dotenv can't handle this. https://gitlab.com/gitlab-org/gitlab/-/issues/212629#note_430278657 I've also added back in branch trigger so latest links still work
This commit is contained in:
parent
cae8f2697f
commit
f4ea5b81b1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user