diff --git a/README.md b/README.md index c7e7225..c2080c9 100644 --- a/README.md +++ b/README.md @@ -118,13 +118,13 @@ Windowsでは、`py -m venv .venv`で仮想環境を作成します。 ```shell # 署名付きタグを作成 -mise run release-tag 1.0.0 +mise add-tag 1.0.0 # 必要に応じて署名を確認 git tag -v v1.0.0 # タグを push してリリース処理を開始 -mise run release-push 1.0.0 +mise push-tag 1.0.0 ``` タグの push 後、Java 17 でのビルド・テスト、JAR の SHA256 生成、GitHub artifact attestation、 diff --git a/mise.toml b/mise.toml index 4955cb3..1c9fd10 100644 --- a/mise.toml +++ b/mise.toml @@ -37,7 +37,7 @@ run = "ghasec" description = "Validate Renovate configuration" run = "renovate-config-validator --strict" -[tasks.release-tag] +[tasks.add-tag] description = "Create a signed release tag" usage = ''' arg "" help="Release version such as 1.0.0" @@ -47,7 +47,7 @@ run = ''' set -euo pipefail if ! git rev-parse --git-dir >/dev/null 2>&1; then - echo "release-tag requires a Git-colocated checkout with a configured signing key" >&2 + echo "add-tag requires a Git-colocated checkout with a configured signing key" >&2 exit 1 fi @@ -66,7 +66,7 @@ fi git tag -s "$tag" -m "Release $tag" ''' -[tasks.release-push] +[tasks.push-tag] description = "Push an existing signed release tag" usage = ''' arg "" help="Release version such as 1.0.0" @@ -76,7 +76,7 @@ run = ''' set -euo pipefail if ! git rev-parse --git-dir >/dev/null 2>&1; then - echo "release-push requires a Git-colocated checkout with an origin remote" >&2 + echo "push-tag requires a Git-colocated checkout with an origin remote" >&2 exit 1 fi