108 Commits

Author SHA1 Message Date
maulik13
47a54436f5 feat(changelog): add a function in the funcMap to return commit URL 2021-02-23 14:25:09 +01:00
maulik13
df058a927f refactor(changelog): remove unused Version and Now fields, fixed spelling 2021-02-23 14:25:09 +01:00
maulik13
5a58d039fb refactor(angular): update default separator variable in angular 2021-02-23 14:25:09 +01:00
maulik13
08ab3af547 fix(analyzer): remove extra quote in structtag 2021-02-23 14:25:09 +01:00
maulik13
7208daed1f feat(angular): update angular to include new structured fields 2021-02-23 14:25:09 +01:00
maulik13
a20992af14 feat(conventional): parse body and footers according to the rules
Previous assumption about multiple labeled body blocks and footers is
not correct. There is only one body text block with multi-line support.
A footer always starts with a token with a separator.
- A body ends when a footer is found or text ends.
- A footer ends when another footer is found or text ends.
2021-02-23 14:25:09 +01:00
maulik13
dc4d1c581a feat(analyzer): update AnalyzedCommit to add flexibility in parsing a message
This provides flexibility of parsing and rendering structured messages
with more detail in the changelog and helps extract metadata from the 
message. The new structure can be used to split a message in multiple 
blocks (e.g. footer)
2021-02-23 14:25:09 +01:00
maulik13
3a37a5e1db feat(changelog): add string functions for changelog template 2021-02-08 11:30:06 +01:00
maulik13
9594f39caa feat(changelog): allow using of TemplatePath file for full changelog text 2021-02-08 11:15:27 +01:00
fwiedmann
6cd43d7957 ref(analyzer): simplified analyze method for angular and conventional 2021-01-23 22:49:42 +01:00
Sebastian
450383bdbf Merge branch 'master' into feat/conventional-commits 2021-01-21 22:43:53 +01:00
Sebastian Beisch
8db8b0d72c feat(analyzer): add conventional commit format
See: [conventional](https://www.conventionalcommits.org/en/v1.0.0/#summaryhttps://www.conventionalcommits.org/en/v1.0.0/#summary)
2021-01-21 21:41:14 +01:00
maulik13
037983df1e feat(release): add an option to specify a custom prefix for the version tag 2021-01-21 17:52:08 +01:00
Sebastian Beisch
0f1275fc30 refactor(internal/git): revert list commits changes 2020-11-11 10:53:10 +01:00
Sebastian Beisch
dee85c6877 fix(internal/git): check merge commits and collect parent commits for changelog 2020-11-09 14:43:01 +01:00
Sebastian Beisch
ccfce5e135 chore(git): update to new git version go-git.v5 2020-11-09 14:40:38 +01:00
Sebastian Beisch
0cbc7a7885 feat(hooks): pass environment variables to hooks 2020-08-18 17:33:53 +02:00
Matthew Topol
f0ebb03e46 fix(internal/angular): fix angular parsing of breaking change messages that have multiple lines 2020-07-27 16:42:15 -04:00
fwiedmann
c84b51d18c fix(internal/assets): close zip writer before closing zip file 2020-05-21 00:45:59 +02:00
Sebastian Beisch
be35b743b4 fix(assets): when file is zipped, upload zipped file instead of unzipped file 2020-03-25 08:45:27 +01:00
Nightapes
400a25f950 style(assets): rename container to set 2020-03-24 19:56:57 +01:00
Nightapes
92600059c2 style(assets): rename container to set 2020-03-24 19:51:18 +01:00
Nightapes
6fd34d3e0a feat(assets): calculate checksum for all assets and upload it 2020-03-21 15:47:03 +01:00
Nightapes
c361744a35 fix(prerelease): calculate right version if branch is set to alpha,beta or rc 2020-01-26 17:08:57 +01:00
Jonathan Thurman
d4627a9d46 fix(internal/changelog): Only print scope if one was defined 2020-01-14 19:35:54 -08:00
Nightapes
575ba5d5bd fix(hooks): improve cmd execution 2020-01-06 17:41:10 +01:00
Nightapes
d0035d6bca fix(gitutil): fix log message for tags 2020-01-06 12:14:41 +01:00
Nightapes
d92438b339 test(hooks): fix testing 2020-01-05 19:10:07 +01:00
Nightapes
aff2203d66 style(github): fix lint issues 2020-01-05 19:06:15 +01:00
Nightapes
8e3c446605 docs(README): add hooks 2020-01-05 18:56:37 +01:00
Nightapes
8ea92efb90 feat(hooks): add pre and post release hooks 2020-01-05 18:56:37 +01:00
Nightapes
42fc522a43 feat(releaser): add git only as releaser, will create a new tag with version only 2020-01-05 18:55:47 +01:00
Nightapes
74e895b5ad fix(commits): don't break if commit is found and error happens on older commits and add better error message when git clone --depth is used 2019-10-08 20:46:57 +02:00
Nightapes
44f95969bf feat(template): allow custom changelog template 2019-09-22 15:50:12 +02:00
Nightapes
4379551982 fix(gitlab): fix broken request on release creation 2019-09-17 21:01:05 +02:00
Nightapes
ee1dc3d8db fix(ci): add gitlab ci detection 2019-09-15 20:13:17 +02:00
Nightapes
e5ed8edb75 refactor(ci): add trace log 2019-09-03 22:18:13 +02:00
Nightapes
76ffeda95b fix(analyzer/angular): allow multi line commits 2019-09-03 21:44:38 +02:00
Nightapes
0994354089 fix(internal/calculator): fix relase version calculation 2019-09-03 21:34:00 +02:00
Nightapes
8643656339 feat(changelog): add docker usage to changelog 2019-08-31 17:05:10 +02:00
Nightapes
829f2925ab fix(analyzer/angular): fix regex to regonize merge commits 2019-08-25 14:16:57 +02:00
Felix Wiedmann
df544f5be7 docs(releaser/util): remove unnecessary comment 2019-08-22 09:17:40 +02:00
fwiedmann
a2fc03c64d Merge branch 'master' of github.com:Nightapes/go-semantic-release into remove/draft 2019-08-22 00:12:24 +02:00
fwiedmann
2eb64f153a test(util): add defer statement for testServer 2019-08-13 23:28:13 +02:00
fwiedmann
a6c651a97f fix(github): remove 'draft' option because releases will always be published public 2019-08-13 23:01:38 +02:00
Nightapes
6a514158ce fix(cache): save commits to cache to avoid empty changelog 2019-08-11 18:27:52 +02:00
Nightapes
7b16b164f2 test(gitlab): add missing tests 2019-08-11 15:03:55 +02:00
Sebastian
0fd39c72a0 Merge branch 'master' into gitlab 2019-08-08 21:35:39 +02:00
Nightapes
5791d3b41c refactor(releaser): clean up code 2019-08-08 21:33:28 +02:00
Nightapes
92b42c8ffa feat(releaser): add gitlab as relase option 2019-08-08 21:33:28 +02:00