electrobun 0.1.13-beta.2 → 0.1.13-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/src/cli/index.ts +8 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "electrobun",
|
|
3
|
-
"version": "0.1.13-beta.
|
|
3
|
+
"version": "0.1.13-beta.5",
|
|
4
4
|
"description": "Build ultra fast, tiny, and cross-platform desktop apps with Typescript.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Blackboard Technologies Inc.",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"build:docs:release": "cd documentation && bun run build",
|
|
43
43
|
"npm:publish": "bun build:release && npm publish",
|
|
44
44
|
"npm:publish:beta": "bun build:release && npm publish --tag beta",
|
|
45
|
-
"
|
|
46
|
-
"push:
|
|
47
|
-
"push:
|
|
48
|
-
"push:
|
|
49
|
-
"push:
|
|
45
|
+
"push:beta": "npm version prerelease --preid=beta && git push origin main --tags",
|
|
46
|
+
"push:patch": "npm version prepatch --preid=beta && git push origin main --tags",
|
|
47
|
+
"push:minor": "npm version preminor --preid=beta && git push origin main --tags",
|
|
48
|
+
"push:major": "npm version premajor --preid=beta && git push origin main --tags",
|
|
49
|
+
"push:stable": "npm version patch && git push origin main --tags",
|
|
50
50
|
"build:push:artifacts": "bun scripts/build-and-upload-artifacts.js",
|
|
51
51
|
"test": "bun build:dev && bun build:cli && cd tests && npm install && bun build:dev && bun start",
|
|
52
52
|
"test:bsdiff": "cd src/bsdiff && ../../vendors/zig/zig build test && echo \"bsdiff tests passed\""
|
package/src/cli/index.ts
CHANGED
|
@@ -1980,13 +1980,15 @@ exec "\$LAUNCHER_BINARY" "\$@"
|
|
|
1980
1980
|
artifactsToUpload.push(patchFilePath);
|
|
1981
1981
|
const result = Bun.spawnSync(
|
|
1982
1982
|
[bsdiffpath, prevTarballPath, tarPath, patchFilePath, "--use-zstd"],
|
|
1983
|
-
{
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
result.stderr.toString()
|
|
1983
|
+
{
|
|
1984
|
+
cwd: buildFolder,
|
|
1985
|
+
stdout: "inherit",
|
|
1986
|
+
stderr: "inherit"
|
|
1987
|
+
}
|
|
1989
1988
|
);
|
|
1989
|
+
if (!result.success) {
|
|
1990
|
+
throw new Error(`bsdiff failed with exit code ${result.exitCode}`);
|
|
1991
|
+
}
|
|
1990
1992
|
}
|
|
1991
1993
|
} else {
|
|
1992
1994
|
console.log("prevoius version not found at: ", urlToLatestTarball);
|