Commit d3531501 authored by Abderrahim Kitouni's avatar Abderrahim Kitouni

.gitlab-ci.yml: fix syntax in the s3 job

parent 6ffe5a66
Pipeline #204665 passed with stages
in 34 minutes and 39 seconds
......@@ -271,10 +271,10 @@ s3-image:
- |
if [ -n "$CI_COMMIT_TAG" ]; then
aws s3 cp --acl public-read --expires $(date -I --date="6 weeks") image/disk.img.xz \\
aws s3 cp --acl public-read --expires $(date -I --date="6 weeks") image/disk.img.xz \
s3://gnome-build-meta/$CI_COMMIT_TAG/disk.img.xz
elif
aws s3 cp --acl public-read --expires $(date -I --date="1 week") image/disk.img.xz \\
else
aws s3 cp --acl public-read --expires $(date -I --date="1 week") image/disk.img.xz \
s3://gnome-build-meta/$CI_PIPELINE_ID/disk.img.xz
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment