Skip to content

Commit

Permalink
Remove 0003 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Jun 25, 2023
1 parent 209f17d commit 8ab394b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 44 deletions.
40 changes: 20 additions & 20 deletions autoroll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ for (const version of V8_VERSIONS) {
const versionDotH = await Deno.readTextFile("./v8/include/v8-version.h");
const upstreamVersion = extractVersion(versionDotH);

// If the upstream version does not match the current version, then we need to
// roll.
if (upstreamVersion === currentVersion) {
console.log(
`Upstream version ${upstreamVersion} matches current version ${currentVersion}. No need to roll ${UPSTREAM_LKGR}.`,
);
continue;
}
// // If the upstream version does not match the current version, then we need to
// // roll.
// if (upstreamVersion === currentVersion) {
// console.log(
// `Upstream version ${upstreamVersion} matches current version ${currentVersion}. No need to roll ${UPSTREAM_LKGR}.`,
// );
// continue;
// }

console.log(
`Upstream version ${upstreamVersion} does not match current version ${currentVersion}. Rolling ${UPSTREAM_LKGR}...`,
Expand All @@ -137,19 +137,19 @@ for (const version of V8_VERSIONS) {
}

// Force push the branch to the denoland remote.
console.log("Pushing the branch to the remote. This might take a minute.");
await run("git", ["push", "--force", "denoland", DENOLAND_LKGR]);
// console.log("Pushing the branch to the remote. This might take a minute.");
// await run("git", ["push", "--force", "denoland", DENOLAND_LKGR]);

// Get the current commit.
const commit = await runAndCollect("git", ["rev-parse", DENOLAND_LKGR]);
const currentCommit = new TextDecoder().decode(commit).trim();
// // Get the current commit.
// const commit = await runAndCollect("git", ["rev-parse", DENOLAND_LKGR]);
// const currentCommit = new TextDecoder().decode(commit).trim();

// Create a tag for the new version.
const TAG = `${upstreamVersion}-denoland-${currentCommit.slice(0, 20)}`;
console.log(`Creating tag ${TAG}`);
await run("git", ["tag", TAG]);
// // Create a tag for the new version.
// const TAG = `${upstreamVersion}-denoland-${currentCommit.slice(0, 20)}`;
// console.log(`Creating tag ${TAG}`);
// await run("git", ["tag", TAG]);

// Push the tag to the denoland remote.
console.log("Pushing the tag to the remote.");
await run("git", ["push", "denoland", TAG]);
// // Push the tag to the denoland remote.
// console.log("Pushing the tag to the remote.");
// await run("git", ["push", "denoland", TAG]);
}
24 changes: 0 additions & 24 deletions patches/0003-Disable-snapshot-checksum-verification.patch

This file was deleted.

0 comments on commit 8ab394b

Please sign in to comment.