0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-10 02:10:38 +00:00
Commit Graph

80 Commits

Author SHA1 Message Date
Beatriz Vieira
893f893d6c test: add unit test for template functions
issue: #40
2022-03-01 00:03:15 -03:00
Beatriz Vieira
7871515ac0 refactor: move template funcions to a new go file
issue: #40
2022-02-28 23:40:29 -03:00
Beatriz Vieira
79df6b030f feat: add getsection template function
issue: #40
2022-02-28 23:38:11 -03:00
Beatriz Vieira
7d8ed49e17 feat: add HasMultipleTypes to ReleaseNoteCommitsSection
issue: #40
2022-02-28 21:17:37 -03:00
Beatriz Vieira
67042ac1e7 feat: migrate 'release-notes.headers' to 'release-notes.sections'
issue: #40
2022-02-28 20:47:45 -03:00
Beatriz Vieira
ebb70048ee feat: use release-notes.sections to sort sections on template variables
issue: #40
2022-02-07 22:49:32 -03:00
Beatriz Vieira
e650f64783 feat: add sections to release-notes config (headers is deprecated)
issue: #40
2022-02-07 20:40:53 -03:00
Beatriz Vieira
94fff067a1 refactor: remove order from templates variables and add authors
issue: #40
2022-02-06 22:06:46 -03:00
Beatriz Vieira
243d73b5c2 feat: add authorName and timestamp to git commit
issue: #40
2022-02-06 20:16:52 -03:00
Beatriz Vieira
0230b1e00f refactor: move templates from sv to cmd/git-sv
issue: #40
2022-02-06 18:15:36 -03:00
Beatriz Vieira
b5d9f9c535 refactor: extract templates from code and use go:embed
issue: #40
2022-01-30 18:45:16 -03:00
Beatriz Vieira
6352021adb feat: add semantic-version-only flat to changelog command 2022-01-29 19:25:52 -03:00
Beatriz Vieira
ab57089ddd test: test nil version on NextVersion function 2021-12-29 18:07:52 -03:00
Beatriz Vieira
ff30229bf9 feat: support non version tags on changelog and release notes 2021-12-29 18:02:50 -03:00
Beatriz Vieira
84e8c9d168 feat: print tag name on git sv tag 2021-09-24 17:59:38 -03:00
Beatriz Vieira
1cb825c4b0 fix: print error output at git sv tag 2021-09-24 17:49:58 -03:00
Beatriz Vieira
10ec6f18c4 refactor: fix lint golint uncommented exported method 2021-07-31 18:19:57 -03:00
Beatriz Vieira
178239a666 refactor: fix lint gosimple S1007 2021-07-31 17:52:25 -03:00
Beatriz Vieira
6fd31b9aa0 refactor: fix lint staticcheck SA9004 2021-07-31 17:44:42 -03:00
Beatriz Vieira
fec91a1947 refactor: fix errcheck lint 2021-07-31 17:34:40 -03:00
Beatriz Vieira
6184ac3ad4 refactor: fix tagliatelle yaml lint 2021-07-31 16:39:38 -03:00
Beatriz Vieira
a96ffa51ce refactor: fix prealloc lint 2021-07-31 16:35:28 -03:00
Beatriz Vieira
162ce50ae5 refactor: remove uneeded comment 2021-07-31 16:25:55 -03:00
Beatriz Vieira
b83c6e335d chore: run lint autofix 2021-07-31 16:03:58 -03:00
Beatriz Vieira
ff34b484a5 feat: add flags to commit command 2021-07-31 00:47:58 -03:00
Beatriz Vieira
e9f4c144d8 feat: support more commit-types on release notes in a fixed order
add sections for the following types: feat, fix, refactor, perf, test, build, ci, chore, docs, style

issue: #24
2021-07-30 21:03:34 -03:00
Beatriz Vieira
206f6a9105 feat: change some config arrays to yaml inline arrays for better readability
issue: #24
2021-07-30 20:58:10 -03:00
Beatriz Vieira
50ba69318c feat: add support to append a prefix to issue value on footer metadata 2021-07-18 17:18:00 -03:00
Beatriz Vieira
a8139b4b26 fix: use use-hash config when enhancing commit message 2021-07-18 16:20:38 -03:00
Beatriz Vieira
a1eaa78a6c feat(changelog): add add-next-version flag
issue: #17
2021-04-10 22:59:30 -03:00
Beatriz Vieira
8ff0147ec9 fix: use full version and not only major, minor and patch at changelog and releasenotes
issue: #16
2021-04-10 17:18:14 -03:00
Beatriz Vieira
e4e395ee39 feat: support lightweight tags
issue: #16
2021-04-10 17:01:58 -03:00
Beatriz Vieira
175ef8b587 test: add empty issue key test
issue: #13
2021-03-12 21:43:27 -03:00
Beatriz Vieira
6352c96aa5 refactor: ignore footer config if key is empty
issue: #13
2021-03-11 23:38:49 -03:00
Beatriz Vieira
0ffaf44ba2 refactor: do not extract issue from branch if branches.disable-issue is true or commit-message.issue.regex is empty
issue: #13
2021-03-11 23:13:56 -03:00
Beatriz Vieira
48620a776d feat: use skip-detached to skip validation on detached branches
issue: #11
2021-03-04 00:42:51 -03:00
Beatriz Vieira
831f3a3723 refactor(validate-commit-message): print subject at validation error
issue: #11
2021-02-25 22:40:07 -03:00
Beatriz Vieira
57995c3458 feat: support # as footer metadata separator 2021-02-15 03:23:02 -03:00
Beatriz Vieira
abeae14b96 refactor: fix suffix typo 2021-02-15 02:51:52 -03:00
Beatriz Vieira
5c992b6826 feat: ignore known types on bumping version if not mapped on bump config 2021-02-15 02:41:43 -03:00
Beatriz Vieira
11a847fe22 feat: add support to rename or disable breaking changes section from release notes 2021-02-15 01:47:20 -03:00
Beatriz Vieira
2ae35c91af feat: remove breaking change synonyms support
BREAKING CHANGE: is not possible to set breaking change footer synonym
2021-02-15 00:05:43 -03:00
Beatriz Vieira
df26b50096 feat: validate scope at validate-commit-message command 2021-02-14 23:17:04 -03:00
Beatriz Vieira
dd5b15af22 refactor: remove mandatory config from scope 2021-02-14 20:18:29 -03:00
Beatriz Vieira
3aa2ecc487 refactor: remove unused var envs 2021-02-14 20:02:11 -03:00
Beatriz Vieira
e70283a0c5 feat: config sv4git using yaml
BREAKING CHANGE: stop using var envs to config sv4git
2021-02-14 19:42:22 -03:00
Beatriz Vieira
9b63aacd8d refactor: add versioning, tag and release notes config 2021-02-14 02:32:23 -03:00
Beatriz Vieira
f6debee45e refactor: create branches config
BREAKING CHANGE: remove BRANCH_ISSUE_REGEX varenv
2021-02-14 01:48:11 -03:00
Beatriz Vieira
0e7438b3a9 style: add dot om message godocs 2021-02-14 01:07:07 -03:00
Beatriz Vieira
de23ff9638 refactor: merge CommitMessageProcessor and MessageProcessor 2021-02-14 01:04:32 -03:00