diff options
| author | diogo464 <[email protected]> | 2025-07-11 15:08:19 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-07-11 15:08:19 +0100 |
| commit | bfc3d24c1c3f0114d07e01afb38c840df046d1b8 (patch) | |
| tree | 653574f6b738aa1ee7f9f1d794193e528e616951 | |
| parent | f709604c54cea1fe830ae366ad246f9b0cd61d92 (diff) | |
chore: update Cargo.lock and add .claude directory
| -rw-r--r-- | .claude/commands/release.md | 20 | ||||
| -rw-r--r-- | Cargo.lock | 2 |
2 files changed, 21 insertions, 1 deletions
diff --git a/.claude/commands/release.md b/.claude/commands/release.md new file mode 100644 index 0000000..3a25e6e --- /dev/null +++ b/.claude/commands/release.md | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | --- | ||
| 2 | name: release | ||
| 3 | description: Create a new GitHub release by tagging and pushing | ||
| 4 | --- | ||
| 5 | |||
| 6 | Create a new GitHub release for version {{version}}. | ||
| 7 | |||
| 8 | Steps: | ||
| 9 | 1. First check that we're on the main branch and that it's up to date | ||
| 10 | 2. Update the version in Cargo.toml from its current value to {{version}} (without the 'v' prefix) | ||
| 11 | 3. Commit the version change with message: "chore: bump version to {{version}}" | ||
| 12 | 4. Create an annotated git tag with: git tag -a v{{version}} -m "Release v{{version}}" | ||
| 13 | 5. Push the commits and tag to GitHub: git push origin main --follow-tags | ||
| 14 | |||
| 15 | This will trigger the GitHub Actions workflow that automatically builds and releases the binaries. | ||
| 16 | |||
| 17 | Important: | ||
| 18 | - The version should be provided without the 'v' prefix (e.g., "1.0.0" not "v1.0.0") | ||
| 19 | - Make sure all changes are committed before running this command | ||
| 20 | - The GitHub Actions workflow will handle building binaries for all platforms and creating the release \ No newline at end of file | ||
| @@ -403,7 +403,7 @@ dependencies = [ | |||
| 403 | 403 | ||
| 404 | [[package]] | 404 | [[package]] |
| 405 | name = "oar-p2p" | 405 | name = "oar-p2p" |
| 406 | version = "0.0.0" | 406 | version = "0.2.0" |
| 407 | dependencies = [ | 407 | dependencies = [ |
| 408 | "clap", | 408 | "clap", |
| 409 | "color-eyre", | 409 | "color-eyre", |
