Unverified Commit 7757b479 authored by Georg Koppen's avatar Georg Koppen
Browse files

Remove oldest Tor Browser before adding new version

parent f07e8109
......@@ -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*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment