Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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、
Expand Down
8 changes: 4 additions & 4 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "<version>" help="Release version such as 1.0.0"
Expand All @@ -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

Expand All @@ -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 "<version>" help="Release version such as 1.0.0"
Expand All @@ -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

Expand Down