Hasty Briefsbeta

Bilingual

Show HN: Doxxer – CLI tool for dynamic SemVer versioning using tags

a year ago
  • #SemVer
  • #Rust
  • #Git
  • doxxer is a CLI tool written in Rust for dynamic SemVer version generation based on Git tags and commits.
  • Inspired by `git describe --tags`, it complies with SemVer specifications.
  • Install via Cargo: `cargo install doxxer`.
  • Commands include `current` (returns current version), `next` (returns next version), and `help`.
  • Options allow specifying Git directory, tag prefix, and output formatting.
  • `next` command supports strategies like major, minor, patch, pre-release, and build metadata.
  • Templates for pre-release and build metadata can be customized with variables like `{pre}`, `{hash}`, and `{distance}`.
  • Default strategy is `pre-build` to reflect development iteration goals.
  • Project name 'doxxer' humorously refers to exposing Git repo version information.
  • Future enhancements include adding a shell script for prebuilt binary installation and `{timestamp}` variable support.