Skip to content

Commit 7031df3

Browse files
committed
Update release command configuration
Streamlined release process by removing manual confirmations and added proper metadata fields for Claude Code commands.
1 parent eb2c40f commit 7031df3

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.claude/commands/release.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
allowed-tools: Bash(git describe:*)
3+
argument-hint: [version]
24
description: Make a new release of luaz library
35
---
46

@@ -24,17 +26,13 @@ Arguments: `$ARGUMENTS` (optional version like "0.3.1", "v0.3.1", "0.3", "v0.3")
2426
+ The guided tour examples run successfully.
2527
- Make a commit with message "Bump library to v{VERSION}" (NEVER include Claude Code attribution or AI mentions in commit messages)
2628
- Tag the commit with version.
27-
- After commit and tag are created, offer to push both to the upstream repository:
29+
- After commit and tag are created, push both to the upstream repository:
2830
+ Use `git push origin main` to push the commit
2931
+ Use `git push origin v{VERSION}` to push the tag
30-
+ Confirm with user before pushing
3132
- Once changes are pushed, create a GitHub release:
3233
+ Prepare the release details:
3334
* Title: version number (e.g., "v0.3.0")
3435
* Body: markdown content from CHANGELOG.md for this version
3536
* Append Luau version info: use `cd luau && git describe --tags --always` to get version (e.g., "0.684")
3637
* Add a line like "Luau version: [0.684](https://github.com/luau-lang/luau/releases/tag/0.684)" at the end of the release body
37-
+ Show the complete release body to the user for review
38-
+ Confirm with user: "Ready to create GitHub release v{VERSION} as the latest release. Proceed?"
39-
+ Use `gh release create v{VERSION} --latest` command to mark it as the latest release
40-
+ Include any compiled artifacts if applicable
38+
+ Use `gh release create v{VERSION} --latest` command to mark it as the latest release

0 commit comments

Comments
 (0)