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

gk at torproject.org gk at torproject.org
Wed Jun 3 09:31:24 UTC 2020


commit 7757b479c597a77ce110975b62fa341081cecfbc
Author: Georg Koppen <gk at torproject.org>
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*



More information about the tbb-commits mailing list