Skip to content

Commit 7066cba

Browse files
authored
Merge pull request #126 from clog-tool/v0.10
v0.10 Release
2 parents cf09a72 + c3e2476 commit 7066cba

File tree

5 files changed

+60
-45
lines changed

5 files changed

+60
-45
lines changed

.github/workflows/release_nightly.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
on:
33
push:
4-
branches: [master, main]
4+
# branches: [master, main]
55

66
name: Nightly Release
77

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ keywords = ["git", "log", "changelog", "parser", "parse"]
55
license = "MIT"
66
name = "clog-cli"
77
edition = "2021"
8-
version = "0.9.3"
8+
version = "0.10.0"
99
rust-version = "1.74.1" # msrv
1010
authors = ["Christoph Burgdorf <[email protected]>"]
1111
description = "A conventional changelog for the rest of us"

README.md

+35-42
Original file line numberDiff line numberDiff line change
@@ -90,48 +90,41 @@ Otherwise, ensure you have the `clog` binary in the directory which you operatin
9090
`clog` works by reading your `git` metadata and specially crafted commit messages and subjects to create a changelog. `clog` has the following options available.
9191

9292
```sh
93-
USAGE:
94-
clog [FLAGS] [OPTIONS]
95-
96-
FLAGS:
97-
-F, --from-latest-tag use latest tag as start (instead of --from)
98-
-h, --help Prints help information
99-
-M, --major Increment major version by one (Sets minor and patch to 0)
100-
-m, --minor Increment minor version by one (Sets patch to 0)
101-
-p, --patch Increment patch version by one
102-
-V, --version Prints version information
103-
104-
OPTIONS:
105-
-C, --changelog <changelog> A previous changelog to prepend new changes to (this is like
106-
using the same file for both --infile and --outfile and
107-
should not be used in conjunction with either)
108-
-c, --config <config> The Clog Configuration TOML file to use (Defaults to
109-
'.clog.toml')**
110-
-T, --format <format> The output format, defaults to markdown
111-
(valid values: markdown, json)
112-
-f, --from <from> e.g. 12a8546
113-
-g, --git-dir <gitdir> Local .git directory (defaults to current dir + '.git')*
114-
-i, --infile <infile> A changelog to append to, but *NOT* write to (Useful in
115-
conjunction with --outfile)
116-
-o, --outfile <outfile> Where to write the changelog (Defaults to stdout when omitted)
117-
-r, --repository <repo> Repository used for generating commit and issue links
118-
(without the .git, e.g. https://github.com/clog-tool/clog-cli)
119-
-l, --link-style <style> The style of repository link to generate
120-
(Defaults to github) [values: Github Gitlab Stash]
121-
-s, --subtitle <subtitle> e.g. "Crazy Release Title"
122-
-t, --to <to> e.g. 8057684 (Defaults to HEAD when omitted)
123-
--setversion <ver> e.g. 1.0.1
124-
-w, --work-tree <workdir> Local working tree of the git project
125-
(defaults to current dir)*
126-
127-
* If your .git directory is a child of your project directory (most common, such as
128-
/myproject/.git) AND not in the current working directory (i.e you need to use --work-tree or
129-
--git-dir) you only need to specify either the --work-tree (i.e. /myproject) OR --git-dir (i.e.
130-
/myproject/.git), you don't need to use both.
131-
132-
** If using the --config to specify a clog configuration TOML file NOT in the current working
133-
directory (meaning you need to use --work-tree or --git-dir) AND the TOML file is inside your
134-
project directory (i.e. /myproject/.clog.toml) you do not need to use --work-tree or --git-dir.
93+
Usage: clog [OPTIONS]
94+
95+
Options:
96+
-r, --repository <URL> Repository used for generating commit and issue links (without the .git, e.g.
97+
https://github.com/thoughtram/clog)
98+
-f, --from <COMMIT> e.g. 12a8546
99+
-T, --format <STR> The output format, defaults to markdown [default: markdown] [possible values: markdown,
100+
json]
101+
-M, --major Increment major version by one (Sets minor and patch to 0)
102+
-g, --git-dir <PATH> Local .git directory (defaults to "$(pwd)/.git")
103+
-w, --work-tree <PATH> Local working tree of the git project (defaults to "$(pwd)")
104+
-m, --minor Increment minor version by one (Sets patch to 0)
105+
-p, --patch Increment patch version by one
106+
-s, --subtitle <STR>
107+
-t, --to <COMMIT> e.g. 8057684 [default: HEAD]
108+
-o, --outfile <PATH> Where to write the changelog (Defaults to stdout when omitted)
109+
-c, --config <COMMIT> The Clog Configuration TOML file to use [default: .clog.toml]
110+
-i, --infile <PATH> A changelog to append to, but *NOT* write to (Useful in conjunction with --outfile)
111+
--setversion <VER> e.g. 1.0.1
112+
-F, --from-latest-tag use latest tag as start (instead of --from)
113+
-l, --link-style <STR> The style of repository link to generate [default: github] [possible values: github,
114+
gitlab, stash, cgit]
115+
-C, --changelog <PATH> A previous changelog to prepend new changes to (this is like using the same file for both
116+
--infile and --outfile and should not be used in conjunction with either)
117+
-h, --help Print help
118+
-V, --version Print version
119+
120+
121+
If your .git directory is a child of your project directory (most common, such as /myproject/.git) AND not in the
122+
current working directory (i.e you need to use --work-tree or --git-dir) you only need to specify either the
123+
--work-tree (i.e. /myproject) OR --git-dir (i.e. /myproject/.git), you don't need to use both.
124+
125+
If using the --config to specify a clog configuration TOML file NOT in the current working directory (meaning you
126+
need to use --work-tree or --git-dir) AND the TOML file is inside your project directory (i.e.
127+
/myproject/.clog.toml) you do not need to use --work-tree or --git-dir.
135128
```
136129
137130
#### Try it!

changelog.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
<a name="0.10.0"></a>
2+
### 0.10.0 (2024-07-09)
3+
4+
#### Breaking Changes
5+
6+
* update MSRV to 1.74.1 ([f190944](https://github.com/clog-tool/clog-cli/commit/f190944))
7+
8+
#### Documentation
9+
10+
* **README.md**: update --help after migrating to clav v4 ([72a1aa1](https://github.com/clog-tool/clog-cli/commit/72a1aa1))
11+
* fix typos ([8e58db2](https://github.com/clog-tool/clog-cli/commit/8e58db2))
12+
13+
#### Style Fixes
14+
15+
* update edition to 2021 ([abe1a8b](https://github.com/clog-tool/clog-cli/commit/abe1a8b))
16+
* use same rustfmt config as clog-lib ([fea7545](https://github.com/clog-tool/clog-cli/commit/fea7545))
17+
18+
#### Improvements
19+
20+
* remove `time` dep ([bc6e283](https://github.com/clog-tool/clog-cli/commit/bc6e283))
21+
* Update deps and fix compiling errors ([813ce80](https://github.com/clog-tool/clog-cli/commit/813ce80))
22+
123
<a name="0.9.2"></a>
224
### 0.9.2 (2016-04-04)
325

0 commit comments

Comments
 (0)