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

340 Commits

Author SHA1 Message Date
Orhun Parmaksız
7756266b17
chore(docker): use docker.yml workflow for CI/CD 2021-10-02 00:08:08 +03:00
Taylan Dogan
2950a412c2
feat(changelog): add --sort argument for sorting commits (#15)
* refactor(changelog): sort commits by newest in CHANGELOG

Previously, cliff was sorting the commits by oldest first.
Like:

```
 - Support parsing the missing scopes with `default_scope` (#8)
 - Support generating a changelog scoped to a directory (#11)
```

As the PR numbers indicate, the first bullet point is definitely
older than the latter.

With this update, it will look like this:
```
 - Support generating a changelog scoped to a directory (#11)
 - Support parsing the missing scopes with `default_scope` (#8)
```

Signed-off-by: Taylan Dogan <git@taylandogan.info>

* refactor: add sorting flag

I don't expect any other sorting types will be added
so the logic consist of checking whether it is
`newest` or not.

One could argue with why wouldn't I make this a boolean.
My answer would be, in my opinion, it lose its meaning
because this is not something we want to enable or disable
but something that we want to decide which pattern
we want to use. So it is more like a semantic choice.

Signed-off-by: Taylan Dogan <git@taylandogan.info>

* docs(readme): move the explanation of sort flag to README.md

Co-authored-by: orhun <orhunparmaksiz@gmail.com>
2021-09-28 22:58:05 +03:00
orhun
777375f677
chore(docker): use explicit image name for docker automated builds 2021-09-28 22:02:05 +03:00
orhun
b193f42e25
docs(readme): add "build from source" section to README.md 2021-09-28 01:27:09 +03:00
orhun
e444615c02
fix(config): remove only the leading "v" from tags (#18) 2021-09-28 01:10: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
9022af533d
docs(readme): mention the signing key for binary releases (#17) 2021-09-22 00:32:24 +03:00
orhun
5409e06e4c
docs(readme): add packaging status badge to installation section 2021-09-21 16:43:18 +03:00
orhun
f64459dd9f
docs(readme): add raw/rendered output for scoped-sorted example 2021-09-21 16:40:47 +03:00
orhun
428d407df5
style(config): fix the newline issues in scoped-sorted example 2021-09-21 16:38:37 +03:00
Matt Foxx
05584b614a
docs(config): Add scope-sorted example (#16)
* Same as basic example but sorts commit by sorted scope
* Defaults to "No Category" if no scope found on commit
* Adds a nested bullet for breaking change description
2021-09-21 16:17:39 +03:00
orhun
ba3f1cac50
fix(ci): update lychee arguments to skip checking files 2021-09-10 22:27:21 +03:00
orhun
7f8e252560
chore(release): prepare for v0.3.0 2021-09-10 21:54:10 +03:00
orhun
39dd563f57
chore(deps): upgrade dependencies 2021-09-10 21:53:15 +03:00
orhun
0bb7c910b4
feat(changelog): support generating a changelog scoped to a directory (#11) 2021-09-09 00:34:25 +03:00
orhun
0d793ad9db
docs(config): update the default regex in scoped config example 2021-09-08 21:58:29 +03:00
orhun
f420a5ac6c
docs(readme): update example regexes 2021-09-08 21:58:02 +03:00
Steven L
8a18e4d48d
fix(config): fix default regexes and references in docs (#7)
* Fix default regexes and references in docs

* correction: I didn't realize the colon was necessary

* change more tomls, fmt

* rebase fixes
2021-09-08 21:40:29 +03:00
orhun
b5edfc279d
docs(readme): add badge for joining the Matrix chat 2021-09-08 14:20:45 +03:00
orhun
b5df656e61
feat(changelog): support parsing the missing scopes with default_scope (#8) 2021-09-07 00:23:08 +03:00
orhun
8fb18b7848
docs(readme): update installation instructions for Arch Linux 2021-09-04 20:40:04 +03:00
orhun
4590c51cd8
chore(release): prepare for v0.2.6 2021-09-04 20:00:58 +03:00
orhun
612192b3aa
chore(docker): bump cargo-chef version in Dockerfile 2021-09-04 19:46:34 +03:00
orhun
4398828df7
docs(readme): update docker commands to only mount the .git directory 2021-09-04 17:20:36 +03:00
orhun
af1851c011
fix(docker): pin the cargo-chef version in Dockerfile 2021-09-04 17:16:06 +03:00
orhun
d0e1a84bd8
chore(deps): bump dependencies 2021-09-04 14:56:50 +03:00
orhun
72cee9caa6
chore(deps): bump git-conventional to 0.10.1 (fixes #6) 2021-09-04 14:32:10 +03:00
orhun
ae8821aaa5
chore(release): prepare for v0.2.5 2021-08-21 00:58:26 +03:00
orhun
59ffe53a7c
chore(release): show the committed changes before creating a tag 2021-08-21 00:58:17 +03:00
orhun
4c6e64bd13
docs(readme): update template examples to mention how to contribute 2021-08-21 00:48:21 +03:00
orhun
6fa5d288d3
docs(readme): mention breaking changes for templating 2021-08-21 00:43:28 +03:00
orhun
e0f6ca151a
feat(template): add breaking_description to the template context (#4) 2021-08-21 00:37:45 +03:00
orhun
5219b9ef30
chore(release): prepare for v0.2.4 2021-08-20 23:45:42 +03:00
orhun
a9b286cf02
fix(cd): change the config file location for crates.io release 2021-08-20 23:44:48 +03:00
orhun
e6fe05b2da
chore(release): prepare for v0.2.3 2021-08-19 02:29:21 +03:00
orhun
9e29c95319
fix(cd): fetch the dependencies before copying the file to embed 2021-08-19 02:29:05 +03:00
orhun
2d2f1befbc
chore(release): prepare for v0.2.2 2021-08-19 02:00:54 +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
df241e485f
chore(release): prepare for v0.2.1 2021-08-19 00:41:59 +03:00
orhun
68dda36427
fix(cd): copy the configuration file to embed into package 2021-08-19 00:41:37 +03:00
orhun
a067433061
chore(release): prepare for v0.2.0 2021-08-18 23:59:27 +03:00
orhun
927776b9db
style(args): update the message of --init flag 2021-08-18 23:51:11 +03:00
orhun
210b634113
feat(config): support a global location for configuration file (#2) 2021-08-18 23:46:37 +03:00