From d063538659d1a1aa2e10871a3442add7bbb4a654 Mon Sep 17 00:00:00 2001 From: Joxit Date: Thu, 14 Jan 2021 22:36:31 +0100 Subject: [PATCH] build(0.3.0): release 0.3.0 --- .github/workflows/release.yml | 2 +- .github/workflows/rust.yml | 2 +- Cargo.toml | 4 ++-- README.md | 25 ++++++++++++++++--------- src/parser/conventional.rs | 1 - 5 files changed, 20 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b20e69..5109e9e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,7 +57,7 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push Standard Version + - name: Build image and push uses: docker/build-push-action@v2 with: context: . diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0bec358..5bba8d2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -27,7 +27,7 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push Standard Version + - name: Build image and push uses: docker/build-push-action@v2 with: context: . diff --git a/Cargo.toml b/Cargo.toml index 989a979..9ca0838 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "kokai" -version = "0.2.0" +version = "0.3.0" authors = ["Jones Magloire @Joxit"] description = "Create changelog for your releases and full changelog for your projects using Conventional Commits." edition = "2018" license = "MIT" repository = "https://github.com/Joxit/kokai" -homepage = "https://github.com/Joxit/kokai" +homepage = "https://joxit.dev/kokai/" documentation = "https://docs.rs/kokai/" readme = "README.md" keywords = ["cli", "release", "changelog", "git", "conventional-commits"] diff --git a/README.md b/README.md index 4d38fa3..c3b521d 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Kokai allows you to create changelog for your releases and full changelog for yo ## All kokai commands ``` -kokai 0.2.0 +kokai 0.3.0 USAGE: kokai @@ -22,15 +22,17 @@ FLAGS: -V, --version Prints version information SUBCOMMANDS: - changelog Create a full changelog of your project - help Prints this message or the help of the given subcommand(s) - release Create a release changelog for a specified tag + changelog Create a full changelog of your project + completion Generate autocompletion file for your shell + help Prints this message or the help of the given subcommand(s) + release Create a release changelog for a specified tag + ``` ### Release ``` -kokai-release 0.2.0 +kokai-release 0.3.0 Jones Magloire @Joxit Create a release changelog for a specified tag @@ -39,14 +41,19 @@ USAGE: FLAGS: -h, --help Prints help information + --no-emoji Remove emojis from headers --tag-from-ref Get the tag of the ref commit and use it as a release name. This is like `git describe --tags --exact-match` -V, --version Prints version information OPTIONS: - --name Explicit name for the release. Useful when tag is a commit or HEAD - --ref Create a release changelog from previous tag until this ref. Can be a tag, commit hash or - branch + --add-links Add links to commits/issues/pr with specified url format (github/gitlab...). For + commits only using github url format, use github:commits. For gitlab with commits and + issues use gitlab:commits,issues + --git-url The git url of the project. Should be a url using http protocol for links + --name Explicit name for the release. Useful when tag is a commit or HEAD + --ref Create a release changelog from previous tag until this ref. Can be a tag, commit + hash or branch ARGS: Path to the git repository [default: .] @@ -55,7 +62,7 @@ ARGS: ### Changelog ``` -kokai-changelog 0.2.0 +kokai-changelog 0.3.0 Jones Magloire @Joxit Create a full changelog of your project diff --git a/src/parser/conventional.rs b/src/parser/conventional.rs index dc3eb70..b8a8c3b 100644 --- a/src/parser/conventional.rs +++ b/src/parser/conventional.rs @@ -2,7 +2,6 @@ use crate::format::formatters::Markdown; use crate::format::FormatOptions; use crate::git::Commit; use regex::Regex; -use std::ops::Add; lazy_static! { static ref SUMMARY_REGEX: Regex =