Settings

Theme

Show HN: (Tag)YoureIt – a small got tag CLI utility

1 points by frontendstrong 9 days ago · 0 comments · 1 min read

Reader

Hey HN,

I had an annoying little problem so I built a tiny CLI to scratch the itch.

We trigger deployments via git tags for different environments (v0.0.0 for prod, s0.0.0 for staging, etc). With multiple devs in the same repo, my workflow became:

- Manually creating tags in GitLab’s UI

- Clicking around to see “what’s the latest tag for staging?” and “who last touched prod?”

- Squinting at raw git tags that aren’t very friendly for this use case

I wanted a way to see, increment, and push environment-specific tags without leaving the terminal.

So I wrote a small CLI that: - list – shows the latest tag per environment, plus who created it and how long ago

- bump [env] – lets you pick an env, finds the latest tag with that prefix, bumps the patch version, optionally adds an annotation, creates the tag, and pushes it to origin

It’s just a thin wrapper around git, no extra state or infra – basically a nicer UX for deployment tags, but this has been helpful for me so hopefully it can be helpful for you.

https://www.npmjs.com/package/youreit

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection