Skip to content

Commit

Permalink
chore(config): move cliff.toml to config/
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Aug 17, 2021
1 parent c5f5821 commit acda195
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: orhun/git-cliff-action@v1
id: git-cliff
with:
config: cliff.toml
config: config/cliff.toml
args: -vv --latest --strip header
env:
OUTPUT: CHANGES.md
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
shell: bash
run: |
mkdir -p release/completions/
cp {LICENSE,README.md,CHANGELOG.md,cliff.toml} release/
cp {LICENSE,README.md,CHANGELOG.md} release/
OUT_DIR=release/completions/ cargo run --release --bin git-cliff-completions
if [ "${{ matrix.OS }}" = "windows-2019" ]; then
cp target/${{ matrix.TARGET }}/release/git-cliff.exe release/
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ Also, see the [continuous deployment workflow](./.github/workflows/cd.yml) of th
**git-cliff** configuration file supports [TOML](https://github.com/toml-lang/toml) (preferred) and [YAML](https://yaml.org) formats.
See [cliff.toml](./cliff.toml) for an example.
See [config/cliff.toml](./config/cliff.toml) for an example.
### changelog
Expand Down Expand Up @@ -442,7 +442,7 @@ Examples are based on the following Git history:

See [examples](./examples/) directory for example configuration files.

#### [Basic](./cliff.toml)
#### [Basic](./config/cliff.toml)

<details>
<summary>Raw Output</summary>
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions git-cliff-core/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ mod test {
.parent()
.unwrap()
.to_path_buf()
.join("config")
.join("cliff.toml")
.to_str()
.unwrap()
Expand Down

0 comments on commit acda195

Please sign in to comment.