From b5fdb359a14c91d4be4f8482c74600640a636f76 Mon Sep 17 00:00:00 2001 From: yjl9903 Date: Fri, 6 Oct 2023 14:48:04 +0800 Subject: [PATCH] chore: release v0.2.2 --- Cargo.toml | 2 +- README.md | 2 +- release.ts | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 935dd06..1c2066f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "catj" -version = "0.2.1" +version = "0.2.2" authors = ["XLor yjl9903@outlook.com"] edition = "2021" diff --git a/README.md b/README.md index 9f653b9..c2967e0 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ $ curl -fsSL https://bina.egoist.sh/CaCatHead/CatBox | sh # Check installation $ catj --version -catj 0.2.1 +catj 0.2.2 # Init cgroup for current user $ ./init.sh $USER diff --git a/release.ts b/release.ts index 47e4edb..cfaea57 100755 --- a/release.ts +++ b/release.ts @@ -15,4 +15,5 @@ export default async function(version: string) { await $`git commit -m "chore: release v${version}"`; await $`git tag -a v${version} -m "chore: release v${version}"`; await $`git push --tags origin main`; + await $`cargo publish`; }