Skip to content

Commit 0b15124

Browse files
committed
Update README.md
1 parent 339f236 commit 0b15124

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,26 @@ which tctl
2727
## Documentation
2828

2929
For more information about using `tctl`, please refer to the [official documentation](https://docs.tetrate.io/service-bridge/reference/cli/guide/).
30+
31+
## For Maintainers
32+
33+
### Adding a New Formula Version
34+
35+
This tap is set up with automated formula generation based on Git tags. To add a new formula version:
36+
37+
1. Create and push a new tag following the format `v*` (e.g., `v1.12.5`)
38+
```bash
39+
git tag v1.12.4
40+
git push origin v1.12.4
41+
```
42+
43+
2. The GitHub Actions workflow will automatically:
44+
- Extract the version number from the tag
45+
- Download the appropriate binary files for both Intel and ARM architectures
46+
- Calculate SHA256 checksums
47+
- Update the main `tctl.rb` formula to the new version
48+
- Create a versioned formula in `Formula/Versions/tctl@<version>.rb`
49+
- Commit and push these changes back to the repository
50+
- Create a GitHub release with installation instructions
51+
52+
No manual formula editing is required! The system handles both the latest version and versioned formulas automatically.

0 commit comments

Comments
 (0)