Skip to content

Commit 79c8dab

Browse files
committed
[Documentation] Add X.com announcement share link as final release step
1 parent d5d90d4 commit 79c8dab

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,22 @@ Decide the bump with SemVer against commits since the last `vX.Y.Z` tag: new bac
6565

6666
4. **Tag + GitHub release.** After the release PR merges, tag `vX.Y.Z` on the merge commit, push the tag, and cut the GitHub release. The git tag and the published gem must both exist — publishing the gem without tagging (or vice versa) is an incomplete release.
6767

68+
5. **Hand over the announcement URL (final step).** As the last step, give the user a ready-to-post X.com (Twitter) share link for the RubyUI account — the user posts it manually. Use the prefilled-tweet intent URL with the body URL-encoded:
69+
70+
```
71+
https://x.com/intent/post?text=RubyUI%20X.Y%20released%21%20%F0%9F%9A%80%0A%0Ahttps%3A%2F%2Fwww.rubyui.com%2Fdocs%2Fchangelog
72+
```
73+
74+
which decodes to:
75+
76+
```
77+
RubyUI X.Y released! 🚀
78+
79+
https://www.rubyui.com/docs/changelog
80+
```
81+
82+
Substitute the real `X.Y` (e.g. `1.4`) in the encoded `text`. Output the link so the user can open and post it.
83+
6884
## Commits & PRs
6985

7086
- Bracketed prefixes (`[Feature]`, `[Bug Fix]`, `[Documentation]`) or scoped conventional (`feat(scope): ...`).

0 commit comments

Comments
 (0)