Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/choubacha/git-release-name
Generate a release names based on a git sha
https://github.com/choubacha/git-release-name
crates git release-automation rust rust-lang
Last synced: 5 days ago
JSON representation
Generate a release names based on a git sha
- Host: GitHub
- URL: https://github.com/choubacha/git-release-name
- Owner: choubacha
- License: mit
- Created: 2018-01-08T22:59:10.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-21T14:06:46.000Z (about 6 years ago)
- Last Synced: 2024-04-18T02:56:01.675Z (10 months ago)
- Topics: crates, git, release-automation, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 168 KB
- Stars: 32
- Watchers: 5
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `git-release-name`
A simple tool that takes a sha and returns a random name for the release. The name will be
deterministic based on the version of the tool. This project is broken into three crates.
Each crate provides a different interface to the dictionary. The main library with functionality
is the libray (found in `rn-dictionary`). The other two are `rn-cli` and `rn-web`.## Installation
Clone this repo and setup the rust compiler and cargo using rustup:
https://rustup.rs/### CLI
Once that works (test: `cargo -v`) you can install the cli:```bash
$ cargo install --force --path=cli
```### Web
If you want to use the web app, there's a docker container for it:```bash
docker run -it -p 6767:6767 kbacha/git-release-name
```Then you can use curl:
```bash
$ curl "0.0.0.0:6767/api/release-name/$(git rev-parse HEAD)"
```## License
Repo is licensed under MIT.