Compare commits

...

1 Commits

Author SHA1 Message Date
dave caruso
d2b61a88c0 Bump to v1.1.13 2024-06-05 18:43:18 -07:00
2 changed files with 2 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.22)
cmake_policy(SET CMP0091 NEW)
cmake_policy(SET CMP0067 NEW)
set(Bun_VERSION "1.1.12")
set(Bun_VERSION "1.1.13")
set(WEBKIT_TAG cb7336ca75f6152adb75cd823a1e10da27739c29)
set(BUN_WORKDIR "${CMAKE_CURRENT_BINARY_DIR}")

View File

@@ -2,13 +2,6 @@ import path from "path";
process.chdir(path.join(import.meta.dir, "../"));
const git_branch = await Bun.$`git rev-parse --abbrev-ref HEAD`.text();
if (git_branch.trim() !== "main") {
console.error("You must be on the main branch to run this script");
process.exit(1);
}
const kinds = ["major", "minor", "patch"];
const increment = kinds.findIndex(type => process.argv[2] === type);
if (increment === -1) {
@@ -41,7 +34,7 @@ await Bun.$`git reset`;
await Bun.write("./CMakeLists.txt", cmakelists.replace(version[1], updated_version));
await Bun.$`git add CMakeLists.txt`;
await Bun.$`git commit -m "Release Bun v${updated_version}"`;
await Bun.$`git commit -m "Bump to v${updated_version}"`;
console.log("");
console.log("Done.");