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




commit d353150193a32450048e63b67a1925b0c57335b8
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 835d833a..190d37e9 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]