From c4ddd986ac67acdbb70e04c3bde45fcd1d7797b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Tue, 10 Sep 2019 14:27:35 +0200
Subject: [PATCH] CI: remove the dynare-latest-* symlinks for the snapshot

They're no longer needed now that the date is part of the snapshot filename.
Also, updating them from the CI was creating a discrepancy with the snapshots
listed on the website (until the latter was rebuilt).
---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a5d5108fd6..c562e12645 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -193,7 +193,7 @@ deploy_snapshot_unstable:
     - pkg_source
     - pkg_windows
   script:
-    - cp *.tar.xz /srv/www.dynare.org/snapshot/source/ && ln -sf *.tar.xz /srv/www.dynare.org/snapshot/source/dynare-latest-src.tar.xz
-    - cd windows/exe/ && cp * /srv/www.dynare.org/snapshot/windows/ && ln -sf * /srv/www.dynare.org/snapshot/windows/dynare-latest-win.exe && cd ../..
-    - cd windows/zip/ && cp * /srv/www.dynare.org/snapshot/windows-zip/ && ln -sf * /srv/www.dynare.org/snapshot/windows-zip/dynare-latest-win.zip && cd ../..
+    - cp *.tar.xz /srv/www.dynare.org/snapshot/source/
+    - cp windows/exe/* /srv/www.dynare.org/snapshot/windows/
+    - cp windows/zip/* /srv/www.dynare.org/snapshot/windows-zip/
     - ~/update-snapshot-list.sh
-- 
GitLab