[Issue 5887]Fix old version download link error
Fix old version download link error
Fixes
### Motivation
Old version download link error
### Modifications
Change the download link to
@@ -122,7 +122,7 @@ const from = [
/{{pulsar:dist_rpm:client-debuginfo}}/g,
/{{pulsar:dist_rpm:client-devel}}/g,
/{{pulsar:dist_deb:client}}/g,
- /{{pulsar:dist_deb:client-devel}}/g,
+ /{{pulsar:dist_deb:client-devel}}/g
];
const options = {
@@ -151,7 +151,7 @@ const options = {
rpmDistUrl(`${latestVersion}`, "-debuginfo"),
rpmDistUrl(`${latestVersion}`, "-devel"),
debDistUrl(`${latestVersion}`, ""),
- debDistUrl(`${latestVersion}`, "-dev"),
+ debDistUrl(`${latestVersion}`, "-dev")
],
dry: false
};
@@ -178,13 +178,19 @@ for (v of versions) {
`${v}`,
binaryReleaseUrl(`${v}`),
connectorReleaseUrl(`${v}`),
- prestoPulsarReleaseUrl(`${latestVersion}`),
+ offloaderReleaseUrl(`${v}`),
+ prestoPulsarReleaseUrl(`${v}`),
downloadPageUrl(),
- rpmReleaseUrl(`${v}`, ""),
- rpmReleaseUrl(`${v}`, "-debuginfo"),
- rpmReleaseUrl(`${v}`, "-devel"),
- debReleaseUrl(`${v}`, ""),
- debReleaseUrl(`${v}`, "-dev"),
+ rpmDistUrl(`${v}`, ""),
+ rpmDistUrl(`${v}`, "-debuginfo"),
+ rpmDistUrl(`${v}`, "-devel"),
+ debDistUrl(`${v}`, ""),
+ debDistUrl(`${v}`, "-dev"),
+ rpmDistUrl(`${v}`, ""),
+ rpmDistUrl(`${v}`, "-debuginfo"),
+ rpmDistUrl(`${v}`, "-devel"),
+ debDistUrl(`${v}`, ""),
+ debDistUrl(`${v}`, "-dev")
],
dry: false
};
