We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 012661c commit d739ca8Copy full SHA for d739ca8
1 file changed
bun/releases.js
@@ -21,6 +21,10 @@ module.exports = function () {
21
return false;
22
}
23
24
+ if (r.name.endsWith('.txt') || r.name.endsWith('.asc')) {
25
+ return false;
26
+ }
27
+
28
// drop the non-baseline asset when a baseline twin exists
29
if (!r.name.includes('-baseline') && baselineNames.has(r.name)) {
30
@@ -37,8 +41,8 @@ module.exports = function () {
37
41
return true;
38
42
})
39
43
.map(function (r) {
40
- // bun-linux-x64-baseline.zip => bun-linux-x64.zip
- r.name = r.name.replace('-baseline', '');
44
+ // bun-linux-x64-baseline.zip => bun-linux-x64
45
+ r.name = r.name.replace('-baseline', '').replace(/\.zip$/, '');
46
// bun-v0.5.1 => v0.5.1
47
r.version = r.version.replace(/bun-/g, '');
48
return r;
0 commit comments