Skip to content
Snippets Groups Projects
Verified Commit c4ddd986 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

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).
parent 8b0d5f4b
Branches
Tags
Loading
Pipeline #1781 passed
......@@ -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
  • @sebastien I don't really agree with this patch. If this file is not present, I have to (manually) visit the website to figure out which is the most recent version (usually I only want to grab the latest snapshot)... Even if the date is part of the file's name. I imagine you want to remove it to preserve resources (and you know I am sympathetic to the cause ;-). It would help a lot if we pushed a txt file with the name of the latest produced snapshot in it. I know that I could do it by parsing the html... But it would be much simpler and robust.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment