@@ -12,23 +12,23 @@ import { useEffect, useState } from "react";
1212// after v0.116-0 had been published and mirrored.
1313
1414export type ReleaseInfo = {
15- /** Git tag of the mirrored release, e.g. "v0.116 -0". */
15+ /** Git tag of the mirrored release, e.g. "v0.117 -0". */
1616 tagName : string ;
17- /** Extension package version on DEB, e.g. "0.116 -0". */
17+ /** Extension package version on DEB, e.g. "0.117 -0". */
1818 aptVersion : string ;
19- /** Extension package version on RPM, e.g. "0.116 .0-1.el9". */
19+ /** Extension package version on RPM, e.g. "0.117 .0-1.el9". */
2020 rpmVersion : string ;
2121 /**
22- * Version of every non-extension package, e.g. "0.116 .0".
22+ * Version of every non-extension package, e.g. "0.117 .0".
2323 *
24- * The extension keeps the control-file form (`0.116 -0`) while the meta,
24+ * The extension keeps the control-file form (`0.117 -0`) while the meta,
2525 * per-major, gateway, tools and common packages use the flat dotted form.
2626 * Pinning examples MUST pick the right one for the package being pinned:
27- * `apt install documentdb-18=0.116 -0` fails with "Version '0.116 -0' for
28- * 'documentdb-18' was not found", because that package is `0.116 .0`.
27+ * `apt install documentdb-18=0.117 -0` fails with "Version '0.117 -0' for
28+ * 'documentdb-18' was not found", because that package is `0.117 .0`.
2929 */
3030 metaVersion : string ;
31- /** RPM form of the non-extension packages, e.g. "0.116 .0-1". */
31+ /** RPM form of the non-extension packages, e.g. "0.117 .0-1". */
3232 metaRpmVersion : string ;
3333 releaseUrl : string ;
3434 assetNames : readonly string [ ] ;
@@ -39,12 +39,12 @@ export type ReleaseInfo = {
3939// placeholder. Keep it in step with the newest release; the drift check in CI
4040// fails the build when it falls behind release-info.json.
4141export const FALLBACK_RELEASE : ReleaseInfo = {
42- tagName : "v0.116 -0" ,
43- aptVersion : "0.116 -0" ,
44- rpmVersion : "0.116 .0-1.el9" ,
45- metaVersion : "0.116 .0" ,
46- metaRpmVersion : "0.116 .0-1" ,
47- releaseUrl : "https://github.com/documentdb/documentdb/releases/tag/v0.116 -0" ,
42+ tagName : "v0.117 -0" ,
43+ aptVersion : "0.117 -0" ,
44+ rpmVersion : "0.117 .0-1.el9" ,
45+ metaVersion : "0.117 .0" ,
46+ metaRpmVersion : "0.117 .0-1" ,
47+ releaseUrl : "https://github.com/documentdb/documentdb/releases/tag/v0.117 -0" ,
4848 assetNames : [ ] ,
4949} ;
5050
@@ -96,8 +96,8 @@ export function parseReleaseInfo(payload: unknown): ReleaseInfo {
9696 ? raw . html_url
9797 : `https://github.com/documentdb/documentdb/releases/tag/${ tagName } ` ;
9898
99- // The extension keeps the control-file form (0.116 -0) on DEB, while RPM
100- // splits it into Version/Release and renders 0.116 .0-1.el9. Everything else
99+ // The extension keeps the control-file form (0.117 -0) on DEB, while RPM
100+ // splits it into Version/Release and renders 0.117 .0-1.el9. Everything else
101101 // uses the flat dotted form. Read all three off real filenames so the page
102102 // cannot claim a shape the release does not contain.
103103 const aptVersion =
@@ -114,7 +114,7 @@ export function parseReleaseInfo(payload: unknown): ReleaseInfo {
114114 firstMatch ( names , / ^ d o c u m e n t d b - ( \d + \. \d + \. \d + ) - \d + \. n o a r c h \. r p m $ / ) ??
115115 FALLBACK_RELEASE . metaVersion ;
116116
117- // e.g. documentdb-0.116 .0-1.noarch.rpm -> 0.116 .0-1
117+ // e.g. documentdb-0.117 .0-1.noarch.rpm -> 0.117 .0-1
118118 const metaRpmVersion =
119119 firstMatch ( names , / ^ d o c u m e n t d b - ( \d + \. \d + \. \d + - \d + ) \. n o a r c h \. r p m $ / ) ??
120120 FALLBACK_RELEASE . metaRpmVersion ;
0 commit comments