link to manifest release tags on releases page
This commit is contained in:
parent
2c86ac5576
commit
d870d1a383
@ -27,7 +27,7 @@
|
|||||||
<div id="stable"></div>
|
<div id="stable"></div>
|
||||||
<h2>Beta channel</h2>
|
<h2>Beta channel</h2>
|
||||||
<div id="beta"></div>
|
<div id="beta"></div>
|
||||||
<script src="/releases.js"></script>
|
<script src="/releases.js?0"></script>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -45,6 +45,7 @@ for (const channel of channels) {
|
|||||||
const dateString = date.toISOString().replace("T", " ").replace("Z", "").split(".")[0];
|
const dateString = date.toISOString().replace("T", " ").replace("Z", "").split(".")[0];
|
||||||
|
|
||||||
const baseUrl = "https://seamlessupdate.app/";
|
const baseUrl = "https://seamlessupdate.app/";
|
||||||
|
const versionBaseUrl = "https://github.com/GrapheneOS/platform_manifest/releases/tag/";
|
||||||
|
|
||||||
const factoryFilename = device + "-factory-" + metadata[0] + ".zip";
|
const factoryFilename = device + "-factory-" + metadata[0] + ".zip";
|
||||||
const factoryUrl = baseUrl + factoryFilename;
|
const factoryUrl = baseUrl + factoryFilename;
|
||||||
@ -63,8 +64,10 @@ for (const channel of channels) {
|
|||||||
header.appendChild(document.createTextNode(model));
|
header.appendChild(document.createTextNode(model));
|
||||||
release.appendChild(header);
|
release.appendChild(header);
|
||||||
|
|
||||||
|
const tag = metadata[2] + "." + metadata[0]
|
||||||
const version = document.createElement("p");
|
const version = document.createElement("p");
|
||||||
version.appendChild(document.createTextNode("Version: " + metadata[2] + "." + metadata[0]));
|
version.appendChild(document.createTextNode("Version: "));
|
||||||
|
version.appendChild(createLink(versionBaseUrl + tag, tag));
|
||||||
release.appendChild(version);
|
release.appendChild(version);
|
||||||
|
|
||||||
release.appendChild(createLink(factoryUrl, factoryFilename));
|
release.appendChild(createLink(factoryUrl, factoryFilename));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user