diff options
| author | Daniel Micay <daniel.micay@grapheneos.org> | 2024-11-11 12:25:45 -0500 |
|---|---|---|
| committer | Daniel Micay <daniel.micay@grapheneos.org> | 2024-11-11 12:25:45 -0500 |
| commit | 984c78a85a534bb02ee79952eddb0c5cbe4196ee (patch) | |
| tree | 145130b83d76c4c40a475c219bbfe7bca1072d4f | |
| parent | 98fe0df34b29e5e88d423b0485c2809bf983d872 (diff) | |
fix factory images links for legacy devices
| -rw-r--r-- | static/releases.html | 6 | ||||
| -rw-r--r-- | templates/device.html | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/static/releases.html b/static/releases.html index 96c5caf6..6526fe15 100644 --- a/static/releases.html +++ b/static/releases.html @@ -508,13 +508,13 @@ {% with codename="bramble", name="Pixel 4a (5G) (legacy extended support) " %} {% include "device.html" %} {% endwith %} - {% with codename="sunfish", name="Pixel 4a (legacy extended support)" %} + {% with codename="sunfish", name="Pixel 4a (legacy extended support)", install="factory" %} {% include "device.html" %} {% endwith %} - {% with codename="coral", name="Pixel 4 XL (legacy extended support)" %} + {% with codename="coral", name="Pixel 4 XL (legacy extended support)", install="factory" %} {% include "device.html" %} {% endwith %} - {% with codename="flame", name="Pixel 4 (legacy extended support)" %} + {% with codename="flame", name="Pixel 4 (legacy extended support)", install="factory" %} {% include "device.html" %} {% endwith %} </section> diff --git a/templates/device.html b/templates/device.html index 16d814dc..69afdac5 100644 --- a/templates/device.html +++ b/templates/device.html @@ -11,8 +11,8 @@ <td><a href="#[[{{codename}}-stable-BUILD_NUMBER]]">[[{{codename}}-stable-BUILD_NUMBER]]</a></td> <td> <ul> - <li><a href="https://releases.grapheneos.org/{{codename}}-install-[[{{codename}}-stable-BUILD_NUMBER]].zip">Install zip</a></li> - <li><a href="https://releases.grapheneos.org/{{codename}}-install-[[{{codename}}-stable-BUILD_NUMBER]].zip.sig">Install zip signature</a></li> + <li><a href="https://releases.grapheneos.org/{{codename}}-{{install | default("install")}}-[[{{codename}}-stable-BUILD_NUMBER]].zip">Install zip</a></li> + <li><a href="https://releases.grapheneos.org/{{codename}}-{{install | default("install")}}-[[{{codename}}-stable-BUILD_NUMBER]].zip.sig">Install zip signature</a></li> <li><a href="https://releases.grapheneos.org/{{codename}}-ota_update-[[{{codename}}-stable-BUILD_NUMBER]].zip">Signed update package</a></li> </ul> </td> @@ -22,8 +22,8 @@ <td><a href="#[[{{codename}}-beta-BUILD_NUMBER]]">[[{{codename}}-beta-BUILD_NUMBER]]</a></td> <td> <ul> - <li><a href="https://releases.grapheneos.org/{{codename}}-install-[[{{codename}}-beta-BUILD_NUMBER]].zip">Install zip</a></li> - <li><a href="https://releases.grapheneos.org/{{codename}}-install-[[{{codename}}-beta-BUILD_NUMBER]].zip.sig">Install zip signature</a></li> + <li><a href="https://releases.grapheneos.org/{{codename}}-{{install | default("install")}}-[[{{codename}}-beta-BUILD_NUMBER]].zip">Install zip</a></li> + <li><a href="https://releases.grapheneos.org/{{codename}}-{{install | default("install")}}-[[{{codename}}-beta-BUILD_NUMBER]].zip.sig">Install zip signature</a></li> <li><a href="https://releases.grapheneos.org/{{codename}}-ota_update-[[{{codename}}-beta-BUILD_NUMBER]].zip">Signed update package</a></li> </ul> </td> @@ -33,8 +33,8 @@ <td><a href="#[[{{codename}}-alpha-BUILD_NUMBER]]">[[{{codename}}-alpha-BUILD_NUMBER]]</a></td> <td> <ul> - <li><a href="https://releases.grapheneos.org/{{codename}}-install-[[{{codename}}-alpha-BUILD_NUMBER]].zip">Install zip</a></li> - <li><a href="https://releases.grapheneos.org/{{codename}}-install-[[{{codename}}-alpha-BUILD_NUMBER]].zip.sig">Install zip signature</a></li> + <li><a href="https://releases.grapheneos.org/{{codename}}-{{install | default("install")}}-[[{{codename}}-alpha-BUILD_NUMBER]].zip">Install zip</a></li> + <li><a href="https://releases.grapheneos.org/{{codename}}-{{install | default("install")}}-[[{{codename}}-alpha-BUILD_NUMBER]].zip.sig">Install zip signature</a></li> <li><a href="https://releases.grapheneos.org/{{codename}}-ota_update-[[{{codename}}-alpha-BUILD_NUMBER]].zip">Signed update package</a></li> </ul> </td> |
