Commit Graph

61 Commits

Author SHA1 Message Date
Felix Wiedmann
d66364e474 ref(changelog): check for max changelog file size, generate new change log file if exceeded.feat/changelog
still in WIO
2021-05-08 22:23:03 +02:00
fwiedmann
a054cf9a60 feat(changelog): prepend a changelog to a file as default, use --overwrite to overwrite the whole file
BREAKING CHANGE: changelog command will now prepend changelogs to the changelog-file
2021-05-08 22:23:03 +02:00
Sebastian Beisch
f79466b238 fix(gitutil): don't crash if no last version was found 2021-05-06 19:07:07 +02:00
Sebastian Beisch
2cd24777b3 fix(internal): improve git log for commits on current branch since last release
At the moment when PRs where done in parallel it could happen that some commits where ignored in the release. This should be fixed now
2021-04-28 08:43:10 +02:00
Sebastian Beisch
3bc68d9794 feat(changelog): add npm helper text to changelog 2021-02-25 07:19:04 +01:00
Sebastian Beisch
c7d6c7cc7b feat(integrations): add first simple npm integration
Integrations are simple helpers to make integration with existing tools easier.
At basic npm support, the integration will set the version before release to the `package.json`

```yml
integrations:
  npm:
    enabled: true
```
2021-02-25 07:19:04 +01:00
maulik13
df058a927f refactor(changelog): remove unused Version and Now fields, fixed spelling 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
Felix Wiedmann
ac1bb779bb lint(semanticrelease): update file permissions 2021-01-23 22:53:55 +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
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
666716d627 refactor(assets): check asset only on release 2020-03-21 16:04:18 +01:00
Nightapes
6fd34d3e0a feat(assets): calculate checksum for all assets and upload it 2020-03-21 15:47:03 +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
44f95969bf feat(template): allow custom changelog template 2019-09-22 15:50:12 +02:00
Nightapes
d03913e6d7 fix(pkg/semanticrelease): remove check for branch prefix for releases 2019-09-03 22:35:17 +02:00
Sebastian
e0974e3140 Merge branch 'master' into improvements 2019-08-31 17:05:21 +02:00
Nightapes
8643656339 feat(changelog): add docker usage to changelog 2019-08-31 17:05:10 +02:00
Nightapes
72200582fd fix(pkg/semantic-release): fix issue with first release in repository, set first version to 1.0.0 2019-08-23 08:58:44 +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
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
c086b12f01 feat(releaser): add gitlab as relase option 2019-08-07 23:24:13 +02:00
Nightapes
1daff2bc8a refactor(pkg): clean up semantic release interface 2019-07-24 22:14:03 +02:00
Nightapes
6267e1cc81 refactor(pkg/semanticrelease): clean up code 2019-07-22 20:46:48 +02:00
Nightapes
791983faae test(*): add unit tests 2019-07-21 15:07:13 +02:00
Nightapes
ab14ab397c refactor(ci): improve testing 2019-07-16 20:42:40 +02:00
Nightapes
13afcea8a0 feat(ci): check if running on a ci, else skip release 2019-07-15 21:20:44 +02:00
svbeisch@gmail.com
24c8f21967 fix(pkg/semanticrelease): add prerelease for alpha and beta releases 2019-07-14 15:57:12 +02:00
fwiedmann
9175d6cc49 temp(internal/releaser): update interface method Uploadassets 2019-07-09 01:46:31 +02:00
fwiedmann
3ad20b2d00 feat(cmd/zip): add command to zip configured files 2019-07-09 01:45:16 +02:00
fwiedmann
6e2fa0ddbf temp(pkg/releaser): add ZipFiles Method 2019-07-07 23:42:52 +02:00
Felix Wiedmann
49aaa93cac feat(pkg/semanticrelease): rc is prerelease, beta & alpha are draft 2019-06-20 11:39:37 +02:00
Felix Wiedmann
d36be78c9c ref(releasetype/draft): infomation about if release is a draft will now be set in the sharedVersion 2019-06-20 10:49:50 +02:00
Felix Wiedmann
92d569c14c feat(internal/releaser): add SetReleaseType Method to Releaser interface 2019-06-20 00:48:07 +02:00
Felix Wiedmann
849dc6c5b7 feat(analyzer): add 'DRAFT' as messeage identifier 2019-06-20 00:46:59 +02:00
Nightapes
efcea0fafd style(*): fix lint issues 2019-06-15 23:16:30 +02:00
Nightapes
cf0431846b refactor(*): clean up code 2019-06-15 23:03:27 +02:00
fwiedmann
1bc7f4bc67 chore(pkg/config): change if expression 2019-06-14 09:41:14 +02:00
fwiedmann
27ddd1872b chore(pkg/semantic-release): remove unused method call 2019-06-14 09:40:26 +02:00
Felix Wiedmann
ead86a769a chore(pkg/semantic-releaser): check if current branch is configured for releases 2019-06-13 23:45:21 +02:00
Felix Wiedmann
cdf3d15105 ref(pkg/semantic-release): add wrapper method for writing changelog, add method for make a new release 2019-06-13 23:33:42 +02:00
Felix Wiedmann
cd362c63bd chore(config): add providers default domains, git providers can now specify a custom provider url for supported providers, add releaseTitle in config 2019-06-13 23:31:14 +02:00
Felix Wiedmann
374548c454 chore(pkg/semantic-release/changelog): get URL parameter from release-config 2019-06-13 21:45:55 +02:00
Felix Wiedmann
c8a9f04f6b chore(config): add debug log 2019-06-13 20:10:06 +02:00