Verified Commit d43aecc4 authored by boklm's avatar boklm
Browse files

Bug 41758: Remove references to legacy versions in redeploy-update_responses-release

Also add a comment at the top explaining what the script is doing.
parent 39a555dd
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
#!/bin/bash
#
# This script can be used to re-deploy update_responses files for a
# release that was already published.
#
set -e
SIGNING_PROJECTNAME=torbrowser
script_dir=$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd)
@@ -6,11 +10,7 @@ TBB_DIR="$script_dir/../.."
source "$script_dir/functions"
source "$script_dir/set-config.update-responses"
TOR_BROWSER_VERSION=$(rbm_showconf var/torbrowser_version)
TOR_BROWSER_LEGACY_VERSION=$(rbm_showconf var/torbrowser_legacy_version)
ESR_LEGACY_VERSION=$(rbm_showconf var/torbrowser_legacy_platform_version)
echo "TOR_BROWSER_VERSION ${TOR_BROWSER_VERSION}"
echo "TOR_BROWSER_LEGACY_VERSION ${TOR_BROWSER_LEGACY_VERSION}"
echo "ESR_LEGACY_VERSION: ${ESR_LEGACY_VERSION}"
read -p "Continue with update response for these versions (y/N) " -n 1 -r

echo
@@ -34,7 +34,7 @@ rm -Rf update_3/release
tar -C update_3 -xf update-responses-release-${TOR_BROWSER_VERSION}.tar
rm update-responses-release-${TOR_BROWSER_VERSION}.tar
git add update_3/release
git commit -m "release: new version, ${TOR_BROWSER_LEGACY_VERSION}"
git commit -m "[redeploy] release: new version, ${TOR_BROWSER_VERSION}"
git push

echo "Update responses commit, for you to review:"