0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-09-19 13:52:45 +02:00
Commit Graph

109 Commits

Author SHA1 Message Date
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
Beatriz Vieira
740f05b84a refactor: rename parser to processor 2021-02-13 23:49:24 -03:00
Beatriz Vieira
8cf6f1eb56 feat: support conventional commits exclamation mark on breaking changes
BREAKING CHANGE: changes commit-log command json, rename subject to description, move all commit message attributes to 'message'
2021-02-13 23:35:31 -03:00
Beatriz Vieira
99d6705350 chore: update go and semver versions 2021-02-13 15:40:09 -03:00
Beatriz Vieira
a6259a910c feat: add commit-notes action
issue: #7
2021-01-25 17:16:56 -03:00
Beatriz Vieira
41be35e83d feat: add range and date at commit log action
related to #7
2021-01-25 02:51:42 -03:00
Beatriz Vieira
6c2039aa2a test: add tests for message issueID and format 2020-12-02 00:12:57 -03:00
Beatriz Vieira
8ea624efa3 refactor: rename ValidateMessageProcessor to MessageProcessor 2020-12-01 23:52:15 -03:00
Beatriz Vieira
9947c06b72 feat: add commit action 2020-12-01 23:15:51 -03:00
Beatriz Vieira
3b0ae34b56 refactor: better enhance error message 2020-12-01 19:43:19 -03:00
Beatriz Vieira
c323081132 feat: add issue id to footer if defined on branch name 2020-08-31 22:28:54 -03:00
Beatriz Vieira
67cd90c762 feat: add validate-commit-message action 2020-08-27 22:57:55 -03:00
Beatriz Vieira
943487fae8 refact: remove redundant type from slice 2020-08-27 22:30:56 -03:00
Beatriz Vieira
37c630d9a9 feat: ignore tag missing date 2020-05-01 00:45:08 -03:00
Beatriz Vieira
cc57ec4c76 feat: add changelog command 2020-02-02 00:49:54 -03:00
Beatriz Vieira
851dcb91d2 refactor: split release notes template in sections 2020-02-01 23:51:29 -03:00
Beatriz Vieira
fef044c99d fix: trim spaces from release notes template 2020-02-01 23:05:39 -03:00
Beatriz Vieira
f4d1499331 refactor: extract template operation to formatter struct 2020-02-01 22:40:31 -03:00
Beatriz Vieira
e18b0cc08f refactor: merge breaking change key and tag 2020-02-01 21:15:12 -03:00
Beatriz Vieira
2cd32e3ed3 refactor: add version to releasenote struct 2020-02-01 21:00:53 -03:00
Beatriz Vieira
f275e1ca2e feat: support multiple prefixes for issueid and breaking change 2020-02-01 19:43:02 -03:00
Beatriz Vieira
a23629d0d5 refactor: change version header from 1 to 2 2020-02-01 19:05:34 -03:00
Beatriz Vieira
afa57122ba feat: generate release-notes and commit-log from tag when flag -t is used 2020-02-01 18:19:38 -03:00
Beatriz Vieira
026a45b033 fix: git tag command 2019-12-04 19:50:02 -03:00
Beatriz Vieira
013ef66372 feat: git tag command 2019-12-04 19:37:50 -03:00
Beatriz Vieira
729cfb5f49 test: unit tests for releasenotes.go 2019-11-17 14:43:01 -03:00
Beatriz Vieira
ad7a5286b9 refactor: truncate time in minutes for release notes 2019-11-17 14:32:33 -03:00
Beatriz Vieira
a32342cf47 fix: nil reference on ToVersion 2019-11-17 14:03:50 -03:00
Beatriz Vieira
35b7f74a2a test: unit tests for semver.go 2019-11-17 14:03:30 -03:00
Beatriz Vieira
8689388740 refactor: fix NextVersion typo 2019-11-17 13:41:00 -03:00
Beatriz Vieira
9374b3addc feat: add support for current-version, next-version, commit-log and release-notes
BREAKING CHANGE: first release
2019-11-17 13:17:24 -03:00