Skip to content

Commit

Permalink
Merge pull request #484 from aliyun/release/1.18.0
Browse files Browse the repository at this point in the history
chore: release/1.18.0
  • Loading branch information
elwing63 authored Dec 27, 2023
2 parents 71afff6 + e4220c9 commit d3b961d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion all-releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
|1.7.0|[Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.7.0/oss-browser-win32-ia32.zip) |[Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.7.0/oss-browser-win32-x64.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.7.0/oss-browser-darwin-x64.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.7.0/oss-browser-linux-ia32.zip) | [Download](https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/1.7.0/oss-browser-linux-x64.zip)|[1.7.0.md](release-notes/1.7.0.en-US.md)|


[Earlier Releases](earlier-releases.md)
[Earlier Releases](earlier-releases.md)
5 changes: 4 additions & 1 deletion gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ const PRES = [
{
title: "download",
url: "https://oss-attachment.cn-hangzhou.oss.aliyun-inc.com/oss-browser/",
newUrl:
"https://oss-attachment.oss-cn-zhangjiakou.aliyuncs.com/ossbrowser/",
},
];

Expand All @@ -32,7 +34,8 @@ PRES.forEach((n) => {
t.push(`||Windows ia32|Windows x64| Mac(zip) |Linux ia32|Linux x64|Release note|
|-----|-----|-----|-----|--------|--------|---|`);
vs.forEach((version) => {
var str = `|${version}|[Download](${n.url}${version}/oss-browser-win32-ia32.zip) |[Download](${n.url}${version}/oss-browser-win32-x64.zip) | [Download](${n.url}${version}/oss-browser-darwin-x64.zip) | [Download](${n.url}${version}/oss-browser-linux-ia32.zip) | [Download](${n.url}${version}/oss-browser-linux-x64.zip)|`;
const url = compareVersion("1.16.0", version) < 0 ? n.url : n.newUrl;
var str = `|${version}|[Download](${url}${version}/oss-browser-win32-ia32.zip) |[Download](${url}${version}/oss-browser-win32-x64.zip) | [Download](${url}${version}/oss-browser-darwin-x64.zip) | [Download](${url}${version}/oss-browser-linux-ia32.zip) | [Download](${url}${version}/oss-browser-linux-x64.zip)|`;
if (compareVersion(version, start_i18n_version) >= 0)
str += "[" + version + ".md](release-notes/" + version + ".md)|";
else str += "[" + version + ".md](release-notes/" + version + ".en-US.md)|";
Expand Down

0 comments on commit d3b961d

Please sign in to comment.