Crates.io | git-release-name |
lib.rs | git-release-name |
version | 0.2.0 |
source | src |
created_at | 2018-05-24 18:23:39.85117 |
updated_at | 2018-06-03 00:13:14.192387 |
description | A simple library for turning git shas into release names |
homepage | http://releasename.com/ |
repository | https://github.com/kbacha/git-release-name |
max_upload_size | |
id | 66921 |
size | 155,202 |
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
.
Clone this repo and setup the rust compiler and cargo using rustup: https://rustup.rs/
Once that works (test: cargo -v
) you can install the cli:
$ cargo install --force --path=cli
If you want to use the web app, there's a docker container for it:
docker run -it -p 6767:6767 kbacha/git-release-name
Then you can use curl:
$ curl "0.0.0.0:6767/api/release-name/$(git rev-parse HEAD)"
Repo is licensed under MIT.