Commit Graph

27 Commits

Author SHA1 Message Date
Marc Cornellà c7bb88f9ad
fix(changelog): ignore lines containing whitespace in breaking change commits 2023-04-03 23:27:14 +02:00
Guy Sartorelli b9c4e2e823
feat(changelog): provide links in changelog (#11578) 2023-03-31 07:49:59 +02:00
jzhang046 1aa58d42a5
fix(changelog): generate correct commit link in markdown (#11356) 2022-11-27 10:54:24 +01:00
Marc Cornellà 3c5367d272
fix(changelog): don't show changelog with only ignored type commits 2022-01-28 13:36:54 +01:00
Marc Cornellà 035c856c2c
fix: get branch name first in `omz version` and changelog 2022-01-13 17:46:09 +01:00
Marc Cornellà 9c84c344d7
fix: disable `log.showSignature` in `git log` calls 2022-01-10 19:39:05 +01:00
Marc Cornellà 1dba112041
fix(changelog): fix for `${(@ps:$sep:)var}` construct in zsh < 5.0.8
In recent zsh versions, `${(@ps:$sep:)var}` where $sep is a variable containing
a separator string and $var is a string with multiple values separated by $sep,
the `p` flag makes zsh correctly expand $sep before splitting $var. In versions
older than 5.0.8, this doesn't happen, so we use `eval` to get the same effect.
2021-10-27 10:12:23 +02:00
Marc Cornellà 4b3a5c5411
fix(changelog): fix percent escapes in `printf` calls 2021-10-26 21:04:02 +02:00
Marc Cornellà 0267cb89eb
perf(changelog): use regex-match instead of `sed` to parse commit subjects 2021-10-26 21:04:01 +02:00
Marc Cornellà 140bfa8432
fix(changelog): go back to ignoring commits from merged branches 2021-10-26 21:04:01 +02:00
Marc Cornellà 9c8131e417
perf(changelog): use a single `git log` command to get all commit messages 2021-10-26 21:04:00 +02:00
Marc Cornellà c2b9ae2937
fix(changelog): don't show more than 40 commits (#10345)
Fixes #10345
2021-10-26 13:23:07 +02:00
Marc Cornellà 607d2f1eda
Revert "fix(changelog): don't parse commits of ignored types"
This reverts commit 63b7e5767d.
2021-10-07 13:35:07 +02:00
Marc Cornellà 63b7e5767d
fix(changelog): don't parse commits of ignored types 2021-10-05 16:56:00 +02:00
Marc Cornellà 37a60eebc1
chore(changelog): fix first-letter uppercase in breaking change messages 2021-09-07 17:13:46 +02:00
Marc Cornellà f341c8c206
feat(changelog): print BREAKING CHANGE messages in a prettier way 2021-09-07 17:08:46 +02:00
Marc Cornellà 7336ebcd8f
feat(changelog): change style of `BREAKING CHANGES` header 2021-09-06 13:31:12 +02:00
Marc Cornellà 7c5ab01a5f
fix(changelog): also display commits from merged branches 2021-08-14 22:41:48 +02:00
Marc Cornellà 0e7d7b87f3
feat(changelog): ignore merge commits 2021-07-07 10:40:05 +02:00
Marc Cornellà 3d51d63077 fix(changelog): fix spacing in breaking changes message 2021-01-10 20:43:32 +01:00
Marc Cornellà 86f805280f fix(changelog): display scope in breaking change messages 2021-01-05 19:17:27 +01:00
Marc Cornellà a4a79eaa8c fix(changelog): remove CR characters in breaking change messages
The GitHub UI might not remove CR characters from commit description forms
filled from a Windows browser.
2020-12-30 20:02:24 +01:00
Marc Cornellà e2c73cf59a fix(changelog): allow breaking change message to span multiple lines
This also allows the option to put extra paragraphs after the BREAKING CHANGE
message while properly displaying the breaking change message. Useful, for
example, to add signed-off or co-authored lines.
2020-12-12 14:22:26 +01:00
Marc Cornellà e8e37eedbc feat(updater): save version prior to updating so `omz changelog` just works™
Fixes #9505
2020-12-12 13:50:53 +01:00
Marc Cornellà 92fa8153d5 fix(changelog): fix assoc array syntax for zsh 5.4.2 and older (#9495)
Also fixed a call to a defunct display:type-header function in displaying
breaking changes.
2020-12-07 20:58:12 +01:00
Marc Cornellà 4f8964d8ff fix(changelog): fix highlight of codeblocks in subject 2020-12-04 12:38:32 +01:00
Marc Cornellà eeab4e5186 feat(updater): add changelog display by parsing the commit list 2020-11-30 15:48:46 +01:00