update git check

This commit is contained in:
2026-02-08 17:12:59 +08:00
parent 22c8bf0c22
commit c932572041
2 changed files with 8 additions and 13 deletions

View File

@@ -2,18 +2,13 @@
import {
execCommand,
formatHumanTime,
log,
ProcessBar,
} from "https://script.hatter.ink/@29/deno-commons-mod.ts";
import {
getGitLocalRev,
getGitRemoteRev,
} from "https://script.hatter.ink/@0/deno-git-mod.ts";
import {
formatHumanTime,
readFileToString,
writeStringToFile,
} from "../libraries/deno-commons-mod.ts";
} from "https://script.hatter.ink/@29/deno-commons-mod.ts";
import {getGitLocalRev, getGitRemoteRev,} from "https://script.hatter.ink/@0/deno-git-mod.ts";
async function sha256OfString(input: string): Promise<string> {
const data = new TextEncoder().encode(input);
@@ -88,5 +83,5 @@ async function main() {
await main();
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T171132+08:00.MEQCIE+nwuOV0aljgeKyGzFE
// eSZrNDvMwRpta2s+C26F0PKHAiBdgS0xvwSjiVrl+82PtaSVsDnxJ8/AsAfb3D1t4fFaeA==
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T171251+08:00.MEYCIQDnT/2rcJlUvb/AWwc6
// ZLFgkkxAO1csY0EjFGau6VqIqgIhAO6nEggx2Nt2SSdiXkCWl7xAjVTiQlYdTKKBoW6VcR4O