Commit 434d85d5 authored by morgan's avatar morgan 😸
Browse files

fixup! Update release prep issue templates

added directions for deploying 13.5 update responses when there is no corresponding 14.0 release
parent 474cdc87
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
@@ -232,6 +232,53 @@ popd
    ```
    static-update-component cdn.torproject.org && static-update-component dist.torproject.org
    ```
- [ ] **(Optional)** Generate and deploy new update responses
  - **NOTE**: This is only required if there will be no corresponding 14.0 release (i.e. this is an emergency legacy-only 13.5 release). Normally, legacy update responses are generated and deployed as part of the 14.0 release.
  - **⚠️ WARNING**: This is a little bit off the beaten track, ping boklm or morgan if you have any doubts
  - From the `maint-14.0` branch:
    - [ ] Update `rbm.conf`
      - [ ] `var/torbrowser_legacy_version`: update to `${TOR_BROWSER_VERSION}`
        - **NOTE** this is the browser version for the legacy branch, not the 14.0 branch
      - [ ] `var/torbrowser_legacy_platform_version`: update to `${ESR_VERSION}`
        - **NOTE** this is ESR version for the legacy branch, not the 14.0 branch
    - [ ] Generate update responses:
      - [ ] Run:
        ```
        make torbrowser-update_responses-release
        ```
  - On `staticiforme.torproject.org`, deploy new update responses:
    - **NOTE**: for now this is a bit janky, we should somehow update the workflow to be a bit less hacky
    - [ ] Edit an existing `deploy_update_responses-release.sh` script in your `HOME` directory with the newly pushed commit hash
      - **example**: (hash: `d938943`)
        ```bash
        #!/bin/bash
        set -e

        echo "Deploying version 14.0"
        echo "update_responses_commit: d938943"

        cd "/srv/aus1-master.torproject.org/htdocs/torbrowser"
        git fetch
        changed_files="$(git diff --name-only HEAD d938943)"
        if echo "$changed_files" | grep -qv "release"
        then
          echo >&2 "Error: checking out new update_response_commit will changes"
          echo >&2 "some files outside of the release directory:"
          echo "$changed_files" | grep -v "release" >&2
          echo >&2 "--"
          echo >&2 "If this is really what you want to do, edit this script to"
          echo >&2 "remove the line 'exit 1' and run it again."
          echo >&2 "See tor-browser-build#41168 for more details."
          exit 1
        fi
        git checkout "d938943"

        static-update-component aus1.torproject.org
        ```
    - [ ] Enable update responses:
      ```bash
      sudo -u tb-release ./deploy_update_responses-release.sh
      ```

</details>