Crates.io | release-me |
lib.rs | release-me |
version | 0.1.0 |
source | src |
created_at | 2019-01-02 16:35:51.003193 |
updated_at | 2019-01-02 16:35:51.003193 |
description | Create your release with ease! |
homepage | |
repository | https://github.com/fabienjuif/release-me |
max_upload_size | |
id | 105056 |
size | 11,158 |
Create your release with ease!
The main purpose is to publish my lib with more ease.
I want to have one simple command that:
## set your github token
## - the github token needs to have "repo" privileges
## - you can create a new token here: https://github.com/settings/tokens/new
export GITHUB_TOKEN="your token"
## try it
docker run --rm -e GITHUB_TOKEN=${GITHUB_TOKEN} -v ${PWD}:/repo fabienjuif/release-me /repo --release <your_version>
# ex: docker run --rm -e GITHUB_TOKEN=${GITHUB_TOKEN} -v ${PWD}:/repo fabienjuif/release-me /repo --release
## to see which options you can use:
docker run --rm -e GITHUB_TOKEN=${GITHUB_TOKEN} fabienjuif/release-me --help
## install it
cargo install release-me
# maybe you should reset your env here (relaunch your terminal or type `zsh` (or `bash`))
## set your github token
## - the github token needs to have "repo" privileges
## - you can create a new token here: https://github.com/settings/tokens/new
export GITHUB_TOKEN="your token"
## try it
release-me . --release #<your_version>
# ex: release-me . --release v0.1.0
## to see which options you can use:
release-me --help
This project use a Makefile
, here are the main targets:
package
: build the docker imageci
: build the project (dev mode) and check clippy and rustfmtYou can still use cargo if you want to, eg building the release version with: cargo build --release