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

[tor-commits] [tor-browser-spec/master] Remove oldest Tor Browser before adding new version



commit 7757b479c597a77ce110975b62fa341081cecfbc
Author: Georg Koppen <gk@xxxxxxxxxxxxxx>
Date:   Wed Jun 3 09:29:04 2020 +0000

    Remove oldest Tor Browser before adding new version
---
 processes/ReleaseProcess | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/processes/ReleaseProcess b/processes/ReleaseProcess
index 842325c..76a29e4 100644
--- a/processes/ReleaseProcess
+++ b/processes/ReleaseProcess
@@ -119,6 +119,10 @@
    torsocks ssh people.torproject.org "mv public_html/$TORBROWSER_BUILDDIR public_html/$TORBROWSER_VERSION"
 
 #. Transfer builds to staticiforme
+   # IMPORTANT: Remove the oldest version in a series in case there is more
+   # than 1 available on dist.torproject.org before proceeding
+   rm -rf /srv/dist-master.torproject.org/htdocs/torbrowser/$TORBROWSER_VERSION_OLDEST
+   static-update-component dist.torproject.org
    # We must use $TORBROWSER_VERSION here because signed result dirs should omit the build number suffix
    wget -nH --cut-dirs=2 -r -l 1 https://people.torproject.org/~gk/builds/$TORBROWSER_VERSION
    rm $TORBROWSER_VERSION/index.html*

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits