add update-meta
This commit is contained in:
@@ -44,12 +44,12 @@
|
|||||||
},
|
},
|
||||||
"commit.ts": {
|
"commit.ts": {
|
||||||
"script_name": "commit.ts",
|
"script_name": "commit.ts",
|
||||||
"script_length": 10033,
|
"script_length": 10297,
|
||||||
"script_sha256": "8e2b7eec88cc824f676613548b8624a6a5d47f2a84560f52923b744b3fd9591e",
|
"script_sha256": "d23f8e2b33d4d76ee0b556f52df542d10c062f5676b8d924c05ce9b9fe03889f",
|
||||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/commit.ts",
|
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/commit.ts",
|
||||||
"single_script_file": true,
|
"single_script_file": true,
|
||||||
"publish_time": 1769318306585,
|
"publish_time": 1769318306585,
|
||||||
"update_time": 1769318644318
|
"update_time": 1769320239166
|
||||||
},
|
},
|
||||||
"decode-uri-component.ts": {
|
"decode-uri-component.ts": {
|
||||||
"script_name": "decode-uri-component.ts",
|
"script_name": "decode-uri-component.ts",
|
||||||
|
|||||||
@@ -308,7 +308,15 @@ async function main() {
|
|||||||
gitCommitArgs.push("-m");
|
gitCommitArgs.push("-m");
|
||||||
gitCommitArgs.push(message);
|
gitCommitArgs.push(message);
|
||||||
|
|
||||||
console.log(">>>>>", "Git command: ", ["git", gitCommitArgs]);
|
if (gitStatus.untracked.length > 0) {
|
||||||
|
const gitAddArgs = ["add"];
|
||||||
|
for (const file of gitStatus.untracked) {
|
||||||
|
gitAddArgs.push(file);
|
||||||
|
}
|
||||||
|
console.log(">>>>>", ["git", gitAddArgs]);
|
||||||
|
await execCommandShell("git", gitAddArgs);
|
||||||
|
}
|
||||||
|
console.log(">>>>>", ["git", gitCommitArgs]);
|
||||||
await execCommandShell("git", gitCommitArgs);
|
await execCommandShell("git", gitCommitArgs);
|
||||||
console.log(">>>>>", ["git", "push"]);
|
console.log(">>>>>", ["git", "push"]);
|
||||||
await new ProcessBar("Git pushing").call(async (): Promise<void> => {
|
await new ProcessBar("Git pushing").call(async (): Promise<void> => {
|
||||||
@@ -321,5 +329,5 @@ main().catch((err) => {
|
|||||||
process.exit(0);
|
process.exit(0);
|
||||||
}).then(() => process.exit(0));
|
}).then(() => process.exit(0));
|
||||||
|
|
||||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260125T132351+08:00.MEQCIGM/e3lHXhvDoj2w1HUz
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260125T135031+08:00.MEUCIBEze5RIPyQ19vGFgOur
|
||||||
// b3VNQZ5UcV3rYo2eVhGbeclhAiBYWQ70AqGUUS80RKR4Umqr+D4NSSKHIhujwGngWBbKqw==
|
// 3UX23ghubli25a0lskk1ezgKAiEAzNzsLCWJ9DNRUbIrA9nbmO15V5qlQY46AeCal6ywS/w=
|
||||||
|
|||||||
3
update-meta.sh
Executable file
3
update-meta.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
./update-meta-v1.rs
|
||||||
|
./update-meta-v2.rs
|
||||||
|
|
||||||
Reference in New Issue
Block a user