[gnome-build-meta] .gitlab-ci.yml: fix syntax in the s3 job



commit cdaf85137a2fd15abe4b76c6a2ed87ff94fa3b75
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Fri Aug 14 17:57:19 2020 +0100

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

 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9ffa63ec..a63fa911 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]