1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-12-15 08:41:46 +03:00
Commit Graph

85 Commits

Author SHA1 Message Date
Ömer Faruk Şahin
e22076843b
feat(config): support changing commit scope with commit_parsers (#94)
* fix: issue #50

* chore: Check some lints and styles

* docs: add scope example

* chore: fix some typos in cargo docs

* style: rerun cargo fmt and cargo lint

* style(config): update wording in the comment

* test(config): add tests about specifying the scope

* test(fixture): add test fixture for custom scope

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-06-23 02:44:13 +03:00
Orhun Parmaksız
8475e1fd63
chore(docker): build Docker images for arm64 2022-04-24 14:12:29 +03:00
Orhun Parmaksız
a5ddf75152
chore(cd): include man page in the release assets 2022-04-14 16:53:02 +03:00
Orhun Parmaksız
2b484f078c
fix(fixtures): update expected changelog date 2022-04-06 15:58:28 +03:00
Orhun Parmaksız
64317f2116
feat(git): support preprocessing commit messages using regex (#62) 2022-04-06 15:46:23 +03:00
Grachev Mikhail
312b654b07
chore(ci): return to nightly builds (#73)
Signed-off-by: Mikhail Grachev <work@mgrachev.com>
2022-03-29 14:44:45 +03:00
Orhun Parmaksız
1b04dbf1a8
fix(ci): pin the Rust nightly version
Temporary fix until the `ring` build issue is fixed.

- https://github.com/briansmith/ring/issues/1469
- https://github.com/rust-lang/rust/issues/95267
2022-03-26 22:27:52 +03:00
Kenji Miyake
3ccec7f93a
fix(changelog): use root commit when --latest and there is only one tag (#59)
* test: add a test for --latest with one tag

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* chore: add a test script

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* fix: use root commit when --latest and there is only one tag

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* docs: remove "requires at least 2 tags"

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* add newlines

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* apply review to test-fixtures-locally.sh

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* apply review to lib.rs

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* chore(fixtures): apply shellcheck suggestion

* chore(ci): checkout pull request HEAD commit

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-02-20 17:26:11 +03:00
Orhun Parmaksız
960cb4ac6f
chore(cd): update the runner to macos-11 2022-02-12 22:04:35 +03:00
Orhun Parmaksız
cfe41fe56e
chore(ci): run cargo-audit for checking vulnerabilities 2022-02-12 22:02:26 +03:00
Orhun Parmaksız
5bfb45411d
fix(ci): update grcov download command 2022-02-12 19:39:59 +03:00
Kenji Miyake
a3980f4632
feat(changelog, config)!: replace --topo-order by --date-order (#58)
* feat(changelog, config)!: replace --topo-order by --date-order

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* ci: simplify test-fixtures workflow

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* ci: add fixtures tests of topo_order and date_order

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* remove unnecessary checkout

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* remove cargo run

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* set GIT_COMMITTER_DATE for each commit

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* add a test for --date-order arg

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* fix git config style

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* remove an unnecessary period

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* apply #60

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* minify the config files for tests

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* fix git config style

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* fix styles of expected.md

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* make some steps one-line

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* remove footers

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* remove newlines

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* Revert "remove newlines"

This reverts commit 802881523f.

* Revert "remove footers"

This reverts commit 3d334cc9ef.

* add trim and footer

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
2022-02-12 19:30:21 +03:00
Kenji Miyake
0293b28109
style(changelog): comply with MD022 and fix minor typos (#61)
* style: add newlines after the title to comply with MD022

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* style: replace whitespaces with whitespace

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
2022-02-08 18:11:11 +03:00
Orhun Parmaksız
a3f3aa6405
fix(ci): use the correct tar command for extracting grcov archive 2022-02-04 01:51:07 +03:00
Orhun Parmaksız
c47133ac24
fix(ci): update the download link of latest grcov release 2022-02-04 01:47:21 +03:00
Orhun Parmaksız
7d766d7e34
fix(ci): run clippy from nightly toolchain 2021-12-31 21:33:39 +03:00
Pascal Bach
b88e7d30be
feat(changelog): add link_parsers for parsing/extracting links (#42)
* feat(core): add link parsing

Searches for patterns in commite messages and allows to convert them into
links via regular expression replacement.

This allows to include links to issue trackers and other tools in the resulting
changelog.

Closes #41

* fix(ci): update lychee arguments

* docs(readme): fix typos

* docs(readme): fix typos

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2021-12-31 21:10:37 +03:00
Orhun Parmaksız
d7e8ce2528
fix(fixtures): strip the carriage return on fixtures while comparing 2021-12-07 23:48:46 +03:00
Orhun Parmaksız
c8d288c4c8
fix(fixtures): update the multi line docker command 2021-12-07 23:33:02 +03:00
Orhun Parmaksız
bbc58d7bd0
fix(fixtures): use the defined configuration file for fixtures 2021-12-07 23:31:02 +03:00
Orhun Parmaksız
cb412a905f
fix(fixtures): checkout the repository before running fixtures 2021-12-07 23:23:52 +03:00
Orhun Parmaksız
dea65f235e
chore(fixtures): run test fixtures on ubuntu-latest 2021-12-07 23:22:11 +03:00
Orhun Parmaksız
92a54d67b8
chore(fixtures): improve the workflow for test fixtures 2021-12-07 23:15:13 +03:00
Kenji Miyake
de11ccecac
feat(config): add ignore_tags option (#40)
* feat: add ignore_tags option

Resolves (#36)

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* test: add a test using GitHub Actions

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* docs: fix style

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* chore: add ignore_tags to example config files

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

* style: refactor test-fixtures workflow

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
2021-12-07 21:49:37 +03:00
Orhun Parmaksız
2cee3bf9ec
fix(cd): install the Rust toolchain explicitly for crates.io releases 2021-10-22 17:57:05 +03:00
Orhun Parmaksız
627d4eff7f
chore(ci): run CI workflows periodically 2021-10-15 21:25:15 +03:00
Orhun Parmaksız
7756266b17
chore(docker): use docker.yml workflow for CI/CD 2021-10-02 00:08:08 +03:00
orhun
777375f677
chore(docker): use explicit image name for docker automated builds 2021-09-28 22:02:05 +03:00
orhun
6bafc5d1a1
chore(docker): specify the latest tag explicitly 2021-09-25 23:22:21 +03:00
orhun
71b88466eb
chore(docker): rename the GHCR package due to legacy reasons 2021-09-25 23:18:28 +03:00
orhun
dff2e62edc
chore(docker): extend the tags for docker meta 2021-09-25 23:18:01 +03:00
orhun
ece0481e73
fix(docker): remove tags from the base image names 2021-09-25 23:09:23 +03:00
orhun
081b2d257b
chore(docker): use docker meta for tagging for GHCR 2021-09-25 23:06:40 +03:00
orhun
d3140ed988
chore(docker): use cache for docker builds 2021-09-25 22:00:48 +03:00
orhun
5069594f18
chore(workflow): update the runner to ubuntu-20.04 2021-09-25 21:43:24 +03:00
orhun
b323e60996
chore(workflow): set a version for the checkout action 2021-09-25 21:36:22 +03:00
orhun
ba3f1cac50
fix(ci): update lychee arguments to skip checking files 2021-09-10 22:27:21 +03:00
orhun
a9b286cf02
fix(cd): change the config file location for crates.io release 2021-08-20 23:44:48 +03:00
orhun
9e29c95319
fix(cd): fetch the dependencies before copying the file to embed 2021-08-19 02:29:05 +03:00
orhun
48ea1578b5
fix(cd): copy the config file into registry to resolve it for embed 2021-08-19 01:58:18 +03:00
orhun
68dda36427
fix(cd): copy the configuration file to embed into package 2021-08-19 00:41:37 +03:00
orhun
acda1954dc
chore(config): move cliff.toml to config/ 2021-08-17 21:49:21 +03:00
orhun
3ae64f4dd0
fix(cd): use the correct name of completions binary 2021-08-14 16:46:20 +03:00
orhun
e795460c9b
fix(cd): wait for core library to update on crates.io before publish 2021-07-01 21:35:18 +03:00
orhun
777b3e573f
fix(cd): wait between publishing crates 2021-07-01 01:57:14 +03:00
orhun
2f16dd5ae7
fix(cd): generate changelog on a dedicated/different job 2021-07-01 01:13:43 +03:00
orhun
6414789067
fix(cd): fix the syntax of publish step arguments 2021-06-30 03:11:16 +03:00
orhun
f038054417
fix(cd): use a separate step for setting the changelog body 2021-06-30 03:08:32 +03:00
orhun
acc1d3453c
fix(cd): publish the cargo workspace members seperately 2021-06-30 02:42:40 +03:00
orhun
e1d604cbdf
fix(ci): update lychee arguments to exclude invalid links 2021-06-29 02:11:30 +03:00