git-changelog
Advanced tools
Comparing version 1.2.0 to 2.0.0
@@ -9,16 +9,27 @@ <img width="300px" src="https://github.com/rafinskipg/git-changelog/raw/master/images/git-changelog-logo.png" /> | ||
## Refactor | ||
- Use native promises | ||
([6a36fac0](git@github.com:rafinskipg/git-changelog/commit/6a36fac0e4670240155bfdc0800cbc28fdfc545f)) | ||
- replaced deprecated createOutputStream method with createWriteStream | ||
([f27a64c4](git@github.com:rafinskipg/git-changelog/commit/f27a64c4451e73d85dfe06c394e2368ce4d3c33a)) | ||
## Bug Fixes | ||
- **url** | ||
- extract http url from any provided git url [aeae305a](https://github.com/rafinskipg/git-changelog/commit/aeae305a9ce35d7ecb93ff116f02afc887dd5639) | ||
## Features | ||
- commit template (#91) [06eebc4d](https://github.com/rafinskipg/git-changelog/commit/06eebc4ddc477842d0e12cf7fb68c5b22814ffbf) ([#71](https://github.com/rafinskipg/git-changelog/issues/71)) | ||
## Documentation | ||
- **readme** | ||
- Changed readme structure [59ba5bc0](https://github.com/rafinskipg/git-changelog/commit/59ba5bc0ab86f39d46a0403d9403351eed0bc692) | ||
## Chore | ||
- added node v12 to travis config | ||
([b527965b](git@github.com:rafinskipg/git-changelog/commit/b527965ba0922f16342801c258790349f7195766)) | ||
- updated fs-extra version to latest | ||
([99905e5c](git@github.com:rafinskipg/git-changelog/commit/99905e5c0d44fb33305d27fd94540304b145405e)) | ||
- New version [567232d0](https://github.com/rafinskipg/git-changelog/commit/567232d0ee3db9c598c89a2154701dd89f0244e0) | ||
@@ -28,4 +39,3 @@ | ||
--- | ||
<sub><sup>*Generated with [git-changelog](https://github.com/rafinskipg/git-changelog). If you have any problems or suggestions, create an issue.* :) **Thanks** </sub></sup> |
@@ -10,413 +10,268 @@ <img width="300px" src="https://github.com/rafinskipg/git-changelog/raw/master/images/git-changelog-logo.png" /> | ||
## Bug Fixes | ||
- fix error messages | ||
([ee5068bf](https://github.com/rafinskipg/git-changelog/commit/ee5068bffdbb9c0e45c8ce9ce0c2f790440f19e3)) | ||
- Fix generation of logs | ||
([cddb2408](https://github.com/rafinskipg/git-changelog/commit/cddb2408fa3017be704acac51dabbba9f477a547)) | ||
- correctly get branch name from the command line | ||
([4baa075b](https://github.com/rafinskipg/git-changelog/commit/4baa075bd93f878ee708817f911fe89c102dec02)) | ||
- correctly detect when running under grunt on Windows | ||
([4205ea49](https://github.com/rafinskipg/git-changelog/commit/4205ea49a893e4d1807a39268739c13754d40cf2)) | ||
- fixed tests | ||
([2e60172a](https://github.com/rafinskipg/git-changelog/commit/2e60172a4666c70d27e66d15dad297b89fff9583)) | ||
- Stream didn't close properly | ||
([99f228cf](https://github.com/rafinskipg/git-changelog/commit/99f228cfa5cb26c46ef9e3b00171a5e3d38fd844)) | ||
- Github commit url | ||
([c186f2d8](https://github.com/rafinskipg/git-changelog/commit/c186f2d877e7907305953610bcaaef331406178a)) | ||
- fix error messages [ee5068bf](https://github.com/rafinskipg/git-changelog/commit/ee5068bffdbb9c0e45c8ce9ce0c2f790440f19e3) | ||
- Fix generation of logs [cddb2408](https://github.com/rafinskipg/git-changelog/commit/cddb2408fa3017be704acac51dabbba9f477a547) | ||
- correctly get branch name from the command line [4baa075b](https://github.com/rafinskipg/git-changelog/commit/4baa075bd93f878ee708817f911fe89c102dec02) | ||
- correctly detect when running under grunt on Windows [4205ea49](https://github.com/rafinskipg/git-changelog/commit/4205ea49a893e4d1807a39268739c13754d40cf2) | ||
- fixed tests [2e60172a](https://github.com/rafinskipg/git-changelog/commit/2e60172a4666c70d27e66d15dad297b89fff9583) | ||
- Stream didn't close properly [99f228cf](https://github.com/rafinskipg/git-changelog/commit/99f228cfa5cb26c46ef9e3b00171a5e3d38fd844) | ||
- Github commit url [c186f2d8](https://github.com/rafinskipg/git-changelog/commit/c186f2d877e7907305953610bcaaef331406178a) | ||
- **checkpath** | ||
- add missing require('path') | ||
([e5dab826](https://github.com/rafinskipg/git-changelog/commit/e5dab826062bd22dd37c8c3d3c24a4d9b4701f6d)) | ||
- add missing require('path') [e5dab826](https://github.com/rafinskipg/git-changelog/commit/e5dab826062bd22dd37c8c3d3c24a4d9b4701f6d) | ||
- **generate** | ||
- create path to file if it does not already exist | ||
([62f6210f](https://github.com/rafinskipg/git-changelog/commit/62f6210f6895bcf5f9984b26948178b1a93cbc9e)) | ||
- create path to file if it does not already exist [62f6210f](https://github.com/rafinskipg/git-changelog/commit/62f6210f6895bcf5f9984b26948178b1a93cbc9e) | ||
- **git log** | ||
- Ignores letter case | ||
([d4cff0a8](https://github.com/rafinskipg/git-changelog/commit/d4cff0a86c5ce46405f3c0dd03f9c49a7d620792), | ||
[#54](https://github.com/rafinskipg/git-changelog/issues/54)) | ||
- Ignores letter case [d4cff0a8](https://github.com/rafinskipg/git-changelog/commit/d4cff0a86c5ce46405f3c0dd03f9c49a7d620792) ([#54](https://github.com/rafinskipg/git-changelog/issues/54)) | ||
- **git tag** | ||
- get latest tag, regardless of branch for workflows that rely on git-flow releases | ||
([48800306](https://github.com/rafinskipg/git-changelog/commit/48800306fa5ac19b7e9a4c6d7f2f432ee8ae4d84)) | ||
- get latest tag, regardless of branch for workflows that rely on git-flow releases [48800306](https://github.com/rafinskipg/git-changelog/commit/48800306fa5ac19b7e9a4c6d7f2f432ee8ae4d84) | ||
- **git_changelog_generate** | ||
- pass tag if it exists to gitReadLog | ||
([7c801927](https://github.com/rafinskipg/git-changelog/commit/7c801927672792fc9a818653b74c78d77c7bff9e), | ||
[#5](https://github.com/rafinskipg/git-changelog/issues/5)) | ||
- pass tag if it exists to gitReadLog [7c801927](https://github.com/rafinskipg/git-changelog/commit/7c801927672792fc9a818653b74c78d77c7bff9e) ([#5](https://github.com/rafinskipg/git-changelog/issues/5)) | ||
- **nested lists** | ||
- nested list fix. Closes #9 | ||
([22855518](https://github.com/rafinskipg/git-changelog/commit/2285551810919bd4d8a749ae3ddd88f9cedcdd0e), | ||
[#9](https://github.com/rafinskipg/git-changelog/issues/9)) | ||
- nested list fix. Closes #9 [22855518](https://github.com/rafinskipg/git-changelog/commit/2285551810919bd4d8a749ae3ddd88f9cedcdd0e) ([#9](https://github.com/rafinskipg/git-changelog/issues/9)) | ||
- **options** | ||
- Use version_name instead of version | ||
([43fdac85](https://github.com/rafinskipg/git-changelog/commit/43fdac855bfd2f67a43acc93ecc8ef2e7a81f45c)) | ||
- use repo_url instead of url | ||
([346b3949](https://github.com/rafinskipg/git-changelog/commit/346b39491923a49a3421f174a566b204d5fc7db9)) | ||
- Use version_name instead of version [43fdac85](https://github.com/rafinskipg/git-changelog/commit/43fdac855bfd2f67a43acc93ecc8ef2e7a81f45c) | ||
- use repo_url instead of url [346b3949](https://github.com/rafinskipg/git-changelog/commit/346b39491923a49a3421f174a566b204d5fc7db9) | ||
- **package.json** | ||
- move q to dependancies since it is required to run | ||
([257119cf](https://github.com/rafinskipg/git-changelog/commit/257119cf2bb6d8f341a5d65a2f47bcf803dff205)) | ||
- move q to dependancies since it is required to run [257119cf](https://github.com/rafinskipg/git-changelog/commit/257119cf2bb6d8f341a5d65a2f47bcf803dff205) | ||
- **params** | ||
- Restores versionName in CLI | ||
([1d97f952](https://github.com/rafinskipg/git-changelog/commit/1d97f952bd5d37f67c1febdf161f4ce9b310eebf)) | ||
- Restores versionName in CLI [1d97f952](https://github.com/rafinskipg/git-changelog/commit/1d97f952bd5d37f67c1febdf161f4ce9b310eebf) | ||
- **provider** | ||
- Added provider option in the command | ||
([8f3b3fef](https://github.com/rafinskipg/git-changelog/commit/8f3b3fef0d123e4fd11ea79bb9552285befc6689)) | ||
- Added provider option in the command [8f3b3fef](https://github.com/rafinskipg/git-changelog/commit/8f3b3fef0d123e4fd11ea79bb9552285befc6689) | ||
- **template** | ||
- Fixes missing space in version_name output in template | ||
([f494f4a9](https://github.com/rafinskipg/git-changelog/commit/f494f4a93a3c4a245f706cfb65f735a5ccccb2ce), | ||
[#72](https://github.com/rafinskipg/git-changelog/issues/72)) | ||
- Fixes missing space in version_name output in template [f494f4a9](https://github.com/rafinskipg/git-changelog/commit/f494f4a93a3c4a245f706cfb65f735a5ccccb2ce) ([#72](https://github.com/rafinskipg/git-changelog/issues/72)) | ||
- **travis** | ||
- Removed 0.12 nodejs version, addd 7.3.0 | ||
([18190836](https://github.com/rafinskipg/git-changelog/commit/1819083690e70e0af28d0c155b6fa67cbeb1dfb3)) | ||
- Removed 0.12 nodejs version, addd 7.3.0 [18190836](https://github.com/rafinskipg/git-changelog/commit/1819083690e70e0af28d0c155b6fa67cbeb1dfb3) | ||
- **url** | ||
- extract http url from any provided git url [aeae305a](https://github.com/rafinskipg/git-changelog/commit/aeae305a9ce35d7ecb93ff116f02afc887dd5639) | ||
## Features | ||
- Show pull requests merged | ||
([65f5504c](https://github.com/rafinskipg/git-changelog/commit/65f5504ce8e92fa39ced7da308e471cc85f750b5)) | ||
- improve `git log` synthax command to use the branch name | ||
([4ce61281](https://github.com/rafinskipg/git-changelog/commit/4ce6128103ece64b44695ac196b457e63649229b)) | ||
- CLI option with git-changelog | ||
([50af9f0a](https://github.com/rafinskipg/git-changelog/commit/50af9f0aeba14e88254aaf1bfd6433c4c6bc9fbe)) | ||
- Working on new API | ||
([121b9928](https://github.com/rafinskipg/git-changelog/commit/121b99285d2a04f9159951fa0e3f849d0d618fef)) | ||
- commit template (#91) [06eebc4d](https://github.com/rafinskipg/git-changelog/commit/06eebc4ddc477842d0e12cf7fb68c5b22814ffbf) ([#71](https://github.com/rafinskipg/git-changelog/issues/71)) | ||
- Show pull requests merged [65f5504c](https://github.com/rafinskipg/git-changelog/commit/65f5504ce8e92fa39ced7da308e471cc85f750b5) | ||
- improve `git log` synthax command to use the branch name [4ce61281](https://github.com/rafinskipg/git-changelog/commit/4ce6128103ece64b44695ac196b457e63649229b) | ||
- CLI option with git-changelog [50af9f0a](https://github.com/rafinskipg/git-changelog/commit/50af9f0aeba14e88254aaf1bfd6433c4c6bc9fbe) | ||
- Working on new API [121b9928](https://github.com/rafinskipg/git-changelog/commit/121b99285d2a04f9159951fa0e3f849d0d618fef) | ||
- **bootstrap** | ||
- creating initial structure | ||
([dea45d68](https://github.com/rafinskipg/git-changelog/commit/dea45d68ce9555e876680bf7c0778add2f367a30)) | ||
- creating initial structure [dea45d68](https://github.com/rafinskipg/git-changelog/commit/dea45d68ce9555e876680bf7c0778add2f367a30) | ||
- **grunt-plugin** | ||
- Commit for research purposes | ||
([5afbb7a9](https://github.com/rafinskipg/git-changelog/commit/5afbb7a95c9f0e985f78666e7e231967524a8928)) | ||
- Now it is ready to be a grunt plugin | ||
([6422e055](https://github.com/rafinskipg/git-changelog/commit/6422e0552b30f6e94d11b03310a23c1342aa5965)) | ||
- Commit for research purposes [5afbb7a9](https://github.com/rafinskipg/git-changelog/commit/5afbb7a95c9f0e985f78666e7e231967524a8928) | ||
- Now it is ready to be a grunt plugin [6422e055](https://github.com/rafinskipg/git-changelog/commit/6422e0552b30f6e94d11b03310a23c1342aa5965) | ||
- **options** | ||
- Added ignore tags option | ||
([95362e8b](https://github.com/rafinskipg/git-changelog/commit/95362e8b57a673e810ffe54ff3337de1ea5109a8)) | ||
- Added ignore tags option [95362e8b](https://github.com/rafinskipg/git-changelog/commit/95362e8b57a673e810ffe54ff3337de1ea5109a8) | ||
- **output** | ||
- added logo in printHeader | ||
([6b489450](https://github.com/rafinskipg/git-changelog/commit/6b489450a90172dc57059d7fd55fb4c6110152b2)) | ||
- added logo in printHeader [6b489450](https://github.com/rafinskipg/git-changelog/commit/6b489450a90172dc57059d7fd55fb4c6110152b2) | ||
- **package** | ||
- Added global install so you can run via command | ||
([86eae3f0](https://github.com/rafinskipg/git-changelog/commit/86eae3f013ace1c5c23afc32b2e8f878a69629f1)) | ||
- Added global install so you can run via command [86eae3f0](https://github.com/rafinskipg/git-changelog/commit/86eae3f013ace1c5c23afc32b2e8f878a69629f1) | ||
- **providers** | ||
- Add possibility to set providers in the options | ||
([14da6fee](https://github.com/rafinskipg/git-changelog/commit/14da6fee8aa8b1fcec198ea26812aa1871008438)) | ||
- Add possibility to set providers in the options [14da6fee](https://github.com/rafinskipg/git-changelog/commit/14da6fee8aa8b1fcec198ea26812aa1871008438) | ||
- **template** | ||
- Load default template if no custom template is found | ||
([41d5128b](https://github.com/rafinskipg/git-changelog/commit/41d5128b922efe3ced883a37bb4e170410160f4f)) | ||
- Load default template if no custom template is found [41d5128b](https://github.com/rafinskipg/git-changelog/commit/41d5128b922efe3ced883a37bb4e170410160f4f) | ||
## Documentation | ||
- updating documentation with template info | ||
([70fb9774](https://github.com/rafinskipg/git-changelog/commit/70fb97742ea2182a9d25ca92d6eeab081b44cc63)) | ||
- Updated readme with the correct specification | ||
([ec2de4bf](https://github.com/rafinskipg/git-changelog/commit/ec2de4bf599dfc77c24c9b86ee9c0d86fe37e5b8)) | ||
- Updated options and tagging info | ||
([1ad3b6be](https://github.com/rafinskipg/git-changelog/commit/1ad3b6bedc6431b70e3a2e93e5967bad9a7830ee)) | ||
- added documentation for explaining the commit message | ||
([d516c2fb](https://github.com/rafinskipg/git-changelog/commit/d516c2fb464072fc1f4c86ec71a910eeab3e830c)) | ||
- Added docs | ||
([e0ba50c0](https://github.com/rafinskipg/git-changelog/commit/e0ba50c0bb0b13e9b39a59b8f4dda96e86d55644)) | ||
- updating documentation with template info [70fb9774](https://github.com/rafinskipg/git-changelog/commit/70fb97742ea2182a9d25ca92d6eeab081b44cc63) | ||
- Updated readme with the correct specification [ec2de4bf](https://github.com/rafinskipg/git-changelog/commit/ec2de4bf599dfc77c24c9b86ee9c0d86fe37e5b8) | ||
- Updated options and tagging info [1ad3b6be](https://github.com/rafinskipg/git-changelog/commit/1ad3b6bedc6431b70e3a2e93e5967bad9a7830ee) | ||
- added documentation for explaining the commit message [d516c2fb](https://github.com/rafinskipg/git-changelog/commit/d516c2fb464072fc1f4c86ec71a910eeab3e830c) | ||
- Added docs [e0ba50c0](https://github.com/rafinskipg/git-changelog/commit/e0ba50c0bb0b13e9b39a59b8f4dda96e86d55644) | ||
- **readme** | ||
- Updated readme | ||
([2d7b1762](https://github.com/rafinskipg/git-changelog/commit/2d7b17625b9783532ee9ba655651cf8d475aa4ce)) | ||
- Unuseful commit | ||
([4373f472](https://github.com/rafinskipg/git-changelog/commit/4373f4726eedad6d450c8255f5e57036a3e5e223)) | ||
- fix link to the `.changelogrc` section | ||
([2975171d](https://github.com/rafinskipg/git-changelog/commit/2975171d89e1823253399bbe87a184e9164e9799)) | ||
- Follow proper style in example commits | ||
([6fef01ba](https://github.com/rafinskipg/git-changelog/commit/6fef01ba8a71bb5cd779ddb84f52b8f75296618d)) | ||
- Reorder contents | ||
([14e8a772](https://github.com/rafinskipg/git-changelog/commit/14e8a772c3a05c32bc9fba6f75565132025d4942)) | ||
- TOC | ||
([d6338ab4](https://github.com/rafinskipg/git-changelog/commit/d6338ab45f6e45e5562e5e6f4f1db86f39ca458d)) | ||
- Added more information on the new specification | ||
([f984eedd](https://github.com/rafinskipg/git-changelog/commit/f984eedde6be5db804d0b6bf2e238ab2e7ca15fb)) | ||
- added more commit examples and npm versioning usage | ||
([51341b7a](https://github.com/rafinskipg/git-changelog/commit/51341b7aae082c6c1a1caaa77dfdbfdc2622a56f)) | ||
- add logo | ||
([1af36c9b](https://github.com/rafinskipg/git-changelog/commit/1af36c9b0dad5cc0c2a321e3f280a89d76a8fb2b)) | ||
- Final readme Fixes #1 Closes #1 | ||
([e725d8f4](https://github.com/rafinskipg/git-changelog/commit/e725d8f4bf477b517ca6185a75fdfa0aa660b3be), | ||
[#1](https://github.com/rafinskipg/git-changelog/issues/1)) | ||
- Changed readme structure [59ba5bc0](https://github.com/rafinskipg/git-changelog/commit/59ba5bc0ab86f39d46a0403d9403351eed0bc692) | ||
- Updated readme [2d7b1762](https://github.com/rafinskipg/git-changelog/commit/2d7b17625b9783532ee9ba655651cf8d475aa4ce) | ||
- Unuseful commit [4373f472](https://github.com/rafinskipg/git-changelog/commit/4373f4726eedad6d450c8255f5e57036a3e5e223) | ||
- fix link to the `.changelogrc` section [2975171d](https://github.com/rafinskipg/git-changelog/commit/2975171d89e1823253399bbe87a184e9164e9799) | ||
- Follow proper style in example commits [6fef01ba](https://github.com/rafinskipg/git-changelog/commit/6fef01ba8a71bb5cd779ddb84f52b8f75296618d) | ||
- Reorder contents [14e8a772](https://github.com/rafinskipg/git-changelog/commit/14e8a772c3a05c32bc9fba6f75565132025d4942) | ||
- TOC [d6338ab4](https://github.com/rafinskipg/git-changelog/commit/d6338ab45f6e45e5562e5e6f4f1db86f39ca458d) | ||
- Added more information on the new specification [f984eedd](https://github.com/rafinskipg/git-changelog/commit/f984eedde6be5db804d0b6bf2e238ab2e7ca15fb) | ||
- added more commit examples and npm versioning usage [51341b7a](https://github.com/rafinskipg/git-changelog/commit/51341b7aae082c6c1a1caaa77dfdbfdc2622a56f) | ||
- add logo [1af36c9b](https://github.com/rafinskipg/git-changelog/commit/1af36c9b0dad5cc0c2a321e3f280a89d76a8fb2b) | ||
- Final readme Fixes #1 Closes #1 [e725d8f4](https://github.com/rafinskipg/git-changelog/commit/e725d8f4bf477b517ca6185a75fdfa0aa660b3be) ([#1](https://github.com/rafinskipg/git-changelog/issues/1)) | ||
## Refactor | ||
- Use native promises | ||
([6a36fac0](https://github.com/rafinskipg/git-changelog/commit/6a36fac0e4670240155bfdc0800cbc28fdfc545f)) | ||
- replaced deprecated createOutputStream method with createWriteStream | ||
([f27a64c4](https://github.com/rafinskipg/git-changelog/commit/f27a64c4451e73d85dfe06c394e2368ce4d3c33a)) | ||
- Refactor branch name | ||
([8774b963](https://github.com/rafinskipg/git-changelog/commit/8774b963fd5e15de1cc1066c91034f9b1d34c4bc)) | ||
- added debug messages and refactored some additional code | ||
([70e48caf](https://github.com/rafinskipg/git-changelog/commit/70e48caf330b7f76fdea474ce58bcf96cb11ccbc)) | ||
- modified the task using a factory pattern to improve testability | ||
([1a0f25d3](https://github.com/rafinskipg/git-changelog/commit/1a0f25d3d9bbedd029c810c4dd2d35419cbb9276)) | ||
- Removed ignore tags and updated documentation | ||
([cb17b55d](https://github.com/rafinskipg/git-changelog/commit/cb17b55de2ba0b597147fe4ce15e6883feb82a88)) | ||
- removed deprecated options | ||
([7d05b632](https://github.com/rafinskipg/git-changelog/commit/7d05b632af6be3db2c00925b7cf28cd990c19a71)) | ||
- Use native promises [6a36fac0](https://github.com/rafinskipg/git-changelog/commit/6a36fac0e4670240155bfdc0800cbc28fdfc545f) | ||
- replaced deprecated createOutputStream method with createWriteStream [f27a64c4](https://github.com/rafinskipg/git-changelog/commit/f27a64c4451e73d85dfe06c394e2368ce4d3c33a) | ||
- Refactor branch name [8774b963](https://github.com/rafinskipg/git-changelog/commit/8774b963fd5e15de1cc1066c91034f9b1d34c4bc) | ||
- added debug messages and refactored some additional code [70e48caf](https://github.com/rafinskipg/git-changelog/commit/70e48caf330b7f76fdea474ce58bcf96cb11ccbc) | ||
- modified the task using a factory pattern to improve testability [1a0f25d3](https://github.com/rafinskipg/git-changelog/commit/1a0f25d3d9bbedd029c810c4dd2d35419cbb9276) | ||
- Removed ignore tags and updated documentation [cb17b55d](https://github.com/rafinskipg/git-changelog/commit/cb17b55de2ba0b597147fe4ce15e6883feb82a88) | ||
- removed deprecated options [7d05b632](https://github.com/rafinskipg/git-changelog/commit/7d05b632af6be3db2c00925b7cf28cd990c19a71) | ||
- **delete** | ||
- deleted some files | ||
([b9c72f57](https://github.com/rafinskipg/git-changelog/commit/b9c72f57c4920420fef8c486bfccf5798870e06b)) | ||
- deleted some files [b9c72f57](https://github.com/rafinskipg/git-changelog/commit/b9c72f57c4920420fef8c486bfccf5798870e06b) | ||
- **docs** | ||
- Angular document commits | ||
([01e8c1ba](https://github.com/rafinskipg/git-changelog/commit/01e8c1ba4c29fcddcfc237f4e6185682b9ced67d)) | ||
- Added docs | ||
([0a155845](https://github.com/rafinskipg/git-changelog/commit/0a1558458c46574c5b0e6ec3749668fad1c8647a)) | ||
- Angular document commits [01e8c1ba](https://github.com/rafinskipg/git-changelog/commit/01e8c1ba4c29fcddcfc237f4e6185682b9ced67d) | ||
- Added docs [0a155845](https://github.com/rafinskipg/git-changelog/commit/0a1558458c46574c5b0e6ec3749668fad1c8647a) | ||
- **generate** | ||
- replace `#getStream` with `fse#createOutputStream` | ||
([2d252d89](https://github.com/rafinskipg/git-changelog/commit/2d252d89017a70008896497e36f03e9d2add2c97)) | ||
- replace `#getStream` with `fse#createOutputStream` [2d252d89](https://github.com/rafinskipg/git-changelog/commit/2d252d89017a70008896497e36f03e9d2add2c97) | ||
- **lib** | ||
- simplify methods and refactor into separate files | ||
([7a3600bf](https://github.com/rafinskipg/git-changelog/commit/7a3600bf9a5487cb26e3eb4b65ac774a68b6b91e)) | ||
- simplify methods and refactor into separate files [7a3600bf](https://github.com/rafinskipg/git-changelog/commit/7a3600bf9a5487cb26e3eb4b65ac774a68b6b91e) | ||
- **writechangelog** | ||
- method now returns a promise | ||
([69fa1b0b](https://github.com/rafinskipg/git-changelog/commit/69fa1b0b11a603683342a9e0626cb69550b92002)) | ||
- method now returns a promise [69fa1b0b](https://github.com/rafinskipg/git-changelog/commit/69fa1b0b11a603683342a9e0626cb69550b92002) | ||
## Style | ||
- **jshint** | ||
- Fixed style | ||
([217bdf58](https://github.com/rafinskipg/git-changelog/commit/217bdf588729e8dba5739bd6edb424523e48b001)) | ||
- Fixed style [217bdf58](https://github.com/rafinskipg/git-changelog/commit/217bdf588729e8dba5739bd6edb424523e48b001) | ||
- **message** | ||
- Added a message on the changelog for referencing the github | ||
([d20031a9](https://github.com/rafinskipg/git-changelog/commit/d20031a9dc6fd92cba205903b2fd9d25feae6ea7)) | ||
- Added a message on the changelog for referencing the github [d20031a9](https://github.com/rafinskipg/git-changelog/commit/d20031a9dc6fd92cba205903b2fd9d25feae6ea7) | ||
## Test | ||
- Tests fixed | ||
([b9edae3b](https://github.com/rafinskipg/git-changelog/commit/b9edae3bfc64f2a8c2320f6f27326225bd586cc7)) | ||
- added test for .init(), .getPreviousTag(), getRepoUrl(), .log() and .warn() | ||
([fd099a85](https://github.com/rafinskipg/git-changelog/commit/fd099a858b44e67e28f4e18f07c520803f3ac55e)) | ||
- removed unnecessary debug setting (was using for "debugging") | ||
([83cd52b1](https://github.com/rafinskipg/git-changelog/commit/83cd52b1e8b79dd6bff13dc0d2003e802f8e45e6)) | ||
- updated test to cover promise return from .generate() | ||
([c182ee47](https://github.com/rafinskipg/git-changelog/commit/c182ee47a4ec36a453420f8cc04358ec6e98e381)) | ||
- ensure changelog has default setting at the beginning of spec | ||
([31f81e26](https://github.com/rafinskipg/git-changelog/commit/31f81e262440aa10efafd90c74d98569df418795)) | ||
- changed spy on changelog.generate() to stub, to avoid polluting following tests | ||
([0aa35588](https://github.com/rafinskipg/git-changelog/commit/0aa35588cf944b2f84b842d66220d50e8f5d96a8)) | ||
- added test for .writeChageLog() and .organizeCommits() | ||
([b07f28e1](https://github.com/rafinskipg/git-changelog/commit/b07f28e1e92bdf20be669596651b344d2f70855e)) | ||
- added default mocha options | ||
([595c8347](https://github.com/rafinskipg/git-changelog/commit/595c8347fd4e2b697ceac247babe7ece7c90c4fa)) | ||
- added missing done() callback on .catch() | ||
([0da53e9c](https://github.com/rafinskipg/git-changelog/commit/0da53e9c8ad8a967753ac06dc1c23302c7956017)) | ||
- added tests for tag option equals to false | ||
([1fc1e809](https://github.com/rafinskipg/git-changelog/commit/1fc1e809dcca7d499f870c314d2860121fcb6bab)) | ||
- Added unit tests for commit parsing | ||
([504a61a7](https://github.com/rafinskipg/git-changelog/commit/504a61a715ed541feee4570810c2153ba8984420)) | ||
- Tests fixed [b9edae3b](https://github.com/rafinskipg/git-changelog/commit/b9edae3bfc64f2a8c2320f6f27326225bd586cc7) | ||
- added test for .init(), .getPreviousTag(), getRepoUrl(), .log() and .warn() [fd099a85](https://github.com/rafinskipg/git-changelog/commit/fd099a858b44e67e28f4e18f07c520803f3ac55e) | ||
- removed unnecessary debug setting (was using for "debugging") [83cd52b1](https://github.com/rafinskipg/git-changelog/commit/83cd52b1e8b79dd6bff13dc0d2003e802f8e45e6) | ||
- updated test to cover promise return from .generate() [c182ee47](https://github.com/rafinskipg/git-changelog/commit/c182ee47a4ec36a453420f8cc04358ec6e98e381) | ||
- ensure changelog has default setting at the beginning of spec [31f81e26](https://github.com/rafinskipg/git-changelog/commit/31f81e262440aa10efafd90c74d98569df418795) | ||
- changed spy on changelog.generate() to stub, to avoid polluting following tests [0aa35588](https://github.com/rafinskipg/git-changelog/commit/0aa35588cf944b2f84b842d66220d50e8f5d96a8) | ||
- added test for .writeChageLog() and .organizeCommits() [b07f28e1](https://github.com/rafinskipg/git-changelog/commit/b07f28e1e92bdf20be669596651b344d2f70855e) | ||
- added default mocha options [595c8347](https://github.com/rafinskipg/git-changelog/commit/595c8347fd4e2b697ceac247babe7ece7c90c4fa) | ||
- added missing done() callback on .catch() [0da53e9c](https://github.com/rafinskipg/git-changelog/commit/0da53e9c8ad8a967753ac06dc1c23302c7956017) | ||
- added tests for tag option equals to false [1fc1e809](https://github.com/rafinskipg/git-changelog/commit/1fc1e809dcca7d499f870c314d2860121fcb6bab) | ||
- Added unit tests for commit parsing [504a61a7](https://github.com/rafinskipg/git-changelog/commit/504a61a715ed541feee4570810c2153ba8984420) | ||
- **writechangelog** | ||
- updated test to reflect changes to method | ||
([b999948f](https://github.com/rafinskipg/git-changelog/commit/b999948f2c38f5d002fa0dc535429a80acdf2d75)) | ||
- updated test to reflect changes to method [b999948f](https://github.com/rafinskipg/git-changelog/commit/b999948f2c38f5d002fa0dc535429a80acdf2d75) | ||
## Chore | ||
- added node v12 to travis config | ||
([b527965b](https://github.com/rafinskipg/git-changelog/commit/b527965ba0922f16342801c258790349f7195766)) | ||
- updated fs-extra version to latest | ||
([99905e5c](https://github.com/rafinskipg/git-changelog/commit/99905e5c0d44fb33305d27fd94540304b145405e)) | ||
- updated grunt contrib clean | ||
([e28c0c76](https://github.com/rafinskipg/git-changelog/commit/e28c0c763b7953861c05bcbedf04c3d6d48f8243)) | ||
- Remove grunt from peer dependencies | ||
([f6111d31](https://github.com/rafinskipg/git-changelog/commit/f6111d31f0c70f8368d2a57ea708bf58990f6bfd)) | ||
- Updated jshint | ||
([1d5f6b1d](https://github.com/rafinskipg/git-changelog/commit/1d5f6b1d471e9d48ac2b4c7c8b78e3e5a8021ff4)) | ||
- typos and grammar | ||
([5ae2ee52](https://github.com/rafinskipg/git-changelog/commit/5ae2ee52d1f096d375d077299047684eae2cd5e2)) | ||
- a couple of spelling corrections [ci skip] | ||
([1486a845](https://github.com/rafinskipg/git-changelog/commit/1486a84537c5fd2d7997721820981c7949487af2)) | ||
- minor edits to README | ||
([481c6c80](https://github.com/rafinskipg/git-changelog/commit/481c6c80d49e5e11c72d8378976d5d3ee1d581d2)) | ||
- fixing lint errors | ||
([3a8e8d48](https://github.com/rafinskipg/git-changelog/commit/3a8e8d486a2b89b9f04d01200fe4f9f7851d0123)) | ||
- added chai-as-promise to handle methods that return promises | ||
([1d384257](https://github.com/rafinskipg/git-changelog/commit/1d3842576839b763b28a777e96b061dbd4d01a80)) | ||
- updated travis config | ||
([d6a7ef94](https://github.com/rafinskipg/git-changelog/commit/d6a7ef945f600ec787b515486bd3abfa2f86a25b)) | ||
- stopped tracking test output files | ||
([1d12bccb](https://github.com/rafinskipg/git-changelog/commit/1d12bccb9f7dce07ff45318304dc5ab82620b6f1)) | ||
- added istanbul configuration file | ||
([88c945e6](https://github.com/rafinskipg/git-changelog/commit/88c945e6d8ddddfe6ee3bdf808ae2c749b4eabf3)) | ||
- updated travis configuration for code climate | ||
([fbd651dd](https://github.com/rafinskipg/git-changelog/commit/fbd651dd765a1ee26293dd03543e578181462e3f)) | ||
- fixed lint issues in tests | ||
([2edb0199](https://github.com/rafinskipg/git-changelog/commit/2edb019910a421cd94868397a0f5881e90af4ed5)) | ||
- add tests to lint task | ||
([1d789792](https://github.com/rafinskipg/git-changelog/commit/1d789792143d2f68820c16426e772857e45ba181)) | ||
- add lint rules for mocha test | ||
([bbea9341](https://github.com/rafinskipg/git-changelog/commit/bbea9341acb37f729e7f83d59d784cb4ff7969e1)) | ||
- ignore files generated by tests | ||
([3ccbff47](https://github.com/rafinskipg/git-changelog/commit/3ccbff47ee2dd655da95ea3a9b95cb156f8f6956)) | ||
- update dependencies | ||
([3036d803](https://github.com/rafinskipg/git-changelog/commit/3036d8037f4af6aa34fb137037a9eb9d0ce34297)) | ||
- removed unused dependency | ||
([cdd9f0d5](https://github.com/rafinskipg/git-changelog/commit/cdd9f0d5623f839eaaf646d4de0cf72816cf00af)) | ||
- fixed typo | ||
([081a8f96](https://github.com/rafinskipg/git-changelog/commit/081a8f963104711b5f15bb8468489ee13927e226)) | ||
- added commits fixture for tests | ||
([b7d16b68](https://github.com/rafinskipg/git-changelog/commit/b7d16b682a8167cd4a90e59c4f511774f6572ce1)) | ||
- added missing development dependencies | ||
([e52e3ec6](https://github.com/rafinskipg/git-changelog/commit/e52e3ec6234db4cc9055c6e0abd5f32b587f67d6)) | ||
- adding missing newline at the end of file | ||
([da4b5492](https://github.com/rafinskipg/git-changelog/commit/da4b54920e1be490fb47a25906eece63229b0094)) | ||
- removed testing from grunt file (causing recursion issues during some tests) | ||
([8e94e8ac](https://github.com/rafinskipg/git-changelog/commit/8e94e8ac23e73709495cf0c6851fbaf1a84c0c9b)) | ||
- install mocha before travis scripts | ||
([9be62aae](https://github.com/rafinskipg/git-changelog/commit/9be62aaeb7d50959cff870e0cabb08277d1c512b)) | ||
- updated npm scripts and added debug | ||
([aa4f2a2d](https://github.com/rafinskipg/git-changelog/commit/aa4f2a2d7b834484f65239ceccdf4f973dbe0cee)) | ||
- moved fixtures to the test folder | ||
([e59d429b](https://github.com/rafinskipg/git-changelog/commit/e59d429b032451f75ef986e2d1b3c63fb8672a1c)) | ||
- removed unused test/hacky.js | ||
([500fdf3c](https://github.com/rafinskipg/git-changelog/commit/500fdf3c37e72c98f4809806e85926035eb46792)) | ||
- rename changelog.spec.js to match file being tested | ||
([41757850](https://github.com/rafinskipg/git-changelog/commit/417578507b39aeffe826922ad3eccfcc13ad6ed0)) | ||
- fixed lint errors | ||
([71a5eae2](https://github.com/rafinskipg/git-changelog/commit/71a5eae2212e7abf87c97a569f8251a56b5474a6)) | ||
- added grunt coverage task | ||
([ef6cf2cf](https://github.com/rafinskipg/git-changelog/commit/ef6cf2cf14b69fe4200eb0eeb9319fb4bcdffcc2)) | ||
- added node.js `0.12` to travis-ci config | ||
([24d9c58a](https://github.com/rafinskipg/git-changelog/commit/24d9c58a0a4ea349709719c431ca9878a2f01bc4)) | ||
- Updated readme | ||
([fca6ecba](https://github.com/rafinskipg/git-changelog/commit/fca6ecbac686661ece15acdb41d23e86011457f2)) | ||
- package json version 1.1.3 | ||
([9d600386](https://github.com/rafinskipg/git-changelog/commit/9d6003868e352ae21383913f671bc091afc9d8c7)) | ||
- New version [567232d0](https://github.com/rafinskipg/git-changelog/commit/567232d0ee3db9c598c89a2154701dd89f0244e0) | ||
- added node v12 to travis config [b527965b](https://github.com/rafinskipg/git-changelog/commit/b527965ba0922f16342801c258790349f7195766) | ||
- updated fs-extra version to latest [99905e5c](https://github.com/rafinskipg/git-changelog/commit/99905e5c0d44fb33305d27fd94540304b145405e) | ||
- updated grunt contrib clean [e28c0c76](https://github.com/rafinskipg/git-changelog/commit/e28c0c763b7953861c05bcbedf04c3d6d48f8243) | ||
- Remove grunt from peer dependencies [f6111d31](https://github.com/rafinskipg/git-changelog/commit/f6111d31f0c70f8368d2a57ea708bf58990f6bfd) | ||
- Updated jshint [1d5f6b1d](https://github.com/rafinskipg/git-changelog/commit/1d5f6b1d471e9d48ac2b4c7c8b78e3e5a8021ff4) | ||
- typos and grammar [5ae2ee52](https://github.com/rafinskipg/git-changelog/commit/5ae2ee52d1f096d375d077299047684eae2cd5e2) | ||
- a couple of spelling corrections [ci skip] [1486a845](https://github.com/rafinskipg/git-changelog/commit/1486a84537c5fd2d7997721820981c7949487af2) | ||
- minor edits to README [481c6c80](https://github.com/rafinskipg/git-changelog/commit/481c6c80d49e5e11c72d8378976d5d3ee1d581d2) | ||
- fixing lint errors [3a8e8d48](https://github.com/rafinskipg/git-changelog/commit/3a8e8d486a2b89b9f04d01200fe4f9f7851d0123) | ||
- added chai-as-promise to handle methods that return promises [1d384257](https://github.com/rafinskipg/git-changelog/commit/1d3842576839b763b28a777e96b061dbd4d01a80) | ||
- updated travis config [d6a7ef94](https://github.com/rafinskipg/git-changelog/commit/d6a7ef945f600ec787b515486bd3abfa2f86a25b) | ||
- stopped tracking test output files [1d12bccb](https://github.com/rafinskipg/git-changelog/commit/1d12bccb9f7dce07ff45318304dc5ab82620b6f1) | ||
- added istanbul configuration file [88c945e6](https://github.com/rafinskipg/git-changelog/commit/88c945e6d8ddddfe6ee3bdf808ae2c749b4eabf3) | ||
- updated travis configuration for code climate [fbd651dd](https://github.com/rafinskipg/git-changelog/commit/fbd651dd765a1ee26293dd03543e578181462e3f) | ||
- fixed lint issues in tests [2edb0199](https://github.com/rafinskipg/git-changelog/commit/2edb019910a421cd94868397a0f5881e90af4ed5) | ||
- add tests to lint task [1d789792](https://github.com/rafinskipg/git-changelog/commit/1d789792143d2f68820c16426e772857e45ba181) | ||
- add lint rules for mocha test [bbea9341](https://github.com/rafinskipg/git-changelog/commit/bbea9341acb37f729e7f83d59d784cb4ff7969e1) | ||
- ignore files generated by tests [3ccbff47](https://github.com/rafinskipg/git-changelog/commit/3ccbff47ee2dd655da95ea3a9b95cb156f8f6956) | ||
- update dependencies [3036d803](https://github.com/rafinskipg/git-changelog/commit/3036d8037f4af6aa34fb137037a9eb9d0ce34297) | ||
- removed unused dependency [cdd9f0d5](https://github.com/rafinskipg/git-changelog/commit/cdd9f0d5623f839eaaf646d4de0cf72816cf00af) | ||
- fixed typo [081a8f96](https://github.com/rafinskipg/git-changelog/commit/081a8f963104711b5f15bb8468489ee13927e226) | ||
- added commits fixture for tests [b7d16b68](https://github.com/rafinskipg/git-changelog/commit/b7d16b682a8167cd4a90e59c4f511774f6572ce1) | ||
- added missing development dependencies [e52e3ec6](https://github.com/rafinskipg/git-changelog/commit/e52e3ec6234db4cc9055c6e0abd5f32b587f67d6) | ||
- adding missing newline at the end of file [da4b5492](https://github.com/rafinskipg/git-changelog/commit/da4b54920e1be490fb47a25906eece63229b0094) | ||
- removed testing from grunt file (causing recursion issues during some tests) [8e94e8ac](https://github.com/rafinskipg/git-changelog/commit/8e94e8ac23e73709495cf0c6851fbaf1a84c0c9b) | ||
- install mocha before travis scripts [9be62aae](https://github.com/rafinskipg/git-changelog/commit/9be62aaeb7d50959cff870e0cabb08277d1c512b) | ||
- updated npm scripts and added debug [aa4f2a2d](https://github.com/rafinskipg/git-changelog/commit/aa4f2a2d7b834484f65239ceccdf4f973dbe0cee) | ||
- moved fixtures to the test folder [e59d429b](https://github.com/rafinskipg/git-changelog/commit/e59d429b032451f75ef986e2d1b3c63fb8672a1c) | ||
- removed unused test/hacky.js [500fdf3c](https://github.com/rafinskipg/git-changelog/commit/500fdf3c37e72c98f4809806e85926035eb46792) | ||
- rename changelog.spec.js to match file being tested [41757850](https://github.com/rafinskipg/git-changelog/commit/417578507b39aeffe826922ad3eccfcc13ad6ed0) | ||
- fixed lint errors [71a5eae2](https://github.com/rafinskipg/git-changelog/commit/71a5eae2212e7abf87c97a569f8251a56b5474a6) | ||
- added grunt coverage task [ef6cf2cf](https://github.com/rafinskipg/git-changelog/commit/ef6cf2cf14b69fe4200eb0eeb9319fb4bcdffcc2) | ||
- added node.js `0.12` to travis-ci config [24d9c58a](https://github.com/rafinskipg/git-changelog/commit/24d9c58a0a4ea349709719c431ca9878a2f01bc4) | ||
- Updated readme [fca6ecba](https://github.com/rafinskipg/git-changelog/commit/fca6ecbac686661ece15acdb41d23e86011457f2) | ||
- package json version 1.1.3 [9d600386](https://github.com/rafinskipg/git-changelog/commit/9d6003868e352ae21383913f671bc091afc9d8c7) | ||
- **cleanup** | ||
- remove unnecessary code [skip ci] | ||
([80dbe3ec](https://github.com/rafinskipg/git-changelog/commit/80dbe3ec7a28e7c20d99e89009856c70138350b0)) | ||
- remove `#getStream` and `#checkPath` | ||
([cd75ebc4](https://github.com/rafinskipg/git-changelog/commit/cd75ebc44e39242b7e9c8ef2363c86d3f1cabc0e)) | ||
- remove unnecessary code [skip ci] [80dbe3ec](https://github.com/rafinskipg/git-changelog/commit/80dbe3ec7a28e7c20d99e89009856c70138350b0) | ||
- remove `#getStream` and `#checkPath` [cd75ebc4](https://github.com/rafinskipg/git-changelog/commit/cd75ebc44e39242b7e9c8ef2363c86d3f1cabc0e) | ||
- **deps** | ||
- install fs-extra@0.18.4 | ||
([7c8e257b](https://github.com/rafinskipg/git-changelog/commit/7c8e257b81f0daeba7e347d175583af1a7a9bfa0)) | ||
- install fs-extra@0.18.4 [7c8e257b](https://github.com/rafinskipg/git-changelog/commit/7c8e257b81f0daeba7e347d175583af1a7a9bfa0) | ||
- **images** | ||
- add logo in JPEG format | ||
([50338b9a](https://github.com/rafinskipg/git-changelog/commit/50338b9a8b5540e42273857448e803d8b85c689d)) | ||
- add logo in PNG format | ||
([bb5fbbdb](https://github.com/rafinskipg/git-changelog/commit/bb5fbbdba7ef2b9466c185c12ef426d82fe25bcf)) | ||
- add logo in JPEG format [50338b9a](https://github.com/rafinskipg/git-changelog/commit/50338b9a8b5540e42273857448e803d8b85c689d) | ||
- add logo in PNG format [bb5fbbdb](https://github.com/rafinskipg/git-changelog/commit/bb5fbbdba7ef2b9466c185c12ef426d82fe25bcf) | ||
- **lint** | ||
- add missing semicolon | ||
([2888af48](https://github.com/rafinskipg/git-changelog/commit/2888af4803f85da1afbb8c9832314f53cc4ca131)) | ||
- fix indentation | ||
([4cf9b6e6](https://github.com/rafinskipg/git-changelog/commit/4cf9b6e69a1426d48f18da45614f8f01994707b7)) | ||
- have jshint ignore false positives | ||
([ed8e9df4](https://github.com/rafinskipg/git-changelog/commit/ed8e9df48720c42086186fa4219262a351bbc3e4)) | ||
- fixing jshint errors | ||
([987366f0](https://github.com/rafinskipg/git-changelog/commit/987366f02517c9cfdb62264d0f6ea7d0b20d6634)) | ||
- add missing semicolon [2888af48](https://github.com/rafinskipg/git-changelog/commit/2888af4803f85da1afbb8c9832314f53cc4ca131) | ||
- fix indentation [4cf9b6e6](https://github.com/rafinskipg/git-changelog/commit/4cf9b6e69a1426d48f18da45614f8f01994707b7) | ||
- have jshint ignore false positives [ed8e9df4](https://github.com/rafinskipg/git-changelog/commit/ed8e9df48720c42086186fa4219262a351bbc3e4) | ||
- fixing jshint errors [987366f0](https://github.com/rafinskipg/git-changelog/commit/987366f02517c9cfdb62264d0f6ea7d0b20d6634) | ||
- **package** | ||
- Package json version | ||
([990b8ea0](https://github.com/rafinskipg/git-changelog/commit/990b8ea04ca04f3c907653b0fa89ae6ddd601092)) | ||
- Package json version [990b8ea0](https://github.com/rafinskipg/git-changelog/commit/990b8ea04ca04f3c907653b0fa89ae6ddd601092) | ||
- **package.json** | ||
- Added preversion script | ||
([b3f1e44a](https://github.com/rafinskipg/git-changelog/commit/b3f1e44a900b00bda1facaee5354ba1ff58166aa)) | ||
- Added preversion script [b3f1e44a](https://github.com/rafinskipg/git-changelog/commit/b3f1e44a900b00bda1facaee5354ba1ff58166aa) | ||
- **release** | ||
- 1.1.0 codename(christmas-templates) | ||
([d7d37854](https://github.com/rafinskipg/git-changelog/commit/d7d37854f9bcf6a885be278d05bf78651d493b1d)) | ||
- 1.0.0 codename(magnificent-goldman) | ||
([6b836fbe](https://github.com/rafinskipg/git-changelog/commit/6b836fbea9405727bfc6d8e83349ea5cf8965b05)) | ||
- 0.1.8 codename(furious-stallman) | ||
([b9432318](https://github.com/rafinskipg/git-changelog/commit/b943231854ffd6cb0c5f32e5482cadd99c96f3e9)) | ||
- 1.1.0 codename(christmas-templates) [d7d37854](https://github.com/rafinskipg/git-changelog/commit/d7d37854f9bcf6a885be278d05bf78651d493b1d) | ||
- 1.0.0 codename(magnificent-goldman) [6b836fbe](https://github.com/rafinskipg/git-changelog/commit/6b836fbea9405727bfc6d8e83349ea5cf8965b05) | ||
- 0.1.8 codename(furious-stallman) [b9432318](https://github.com/rafinskipg/git-changelog/commit/b943231854ffd6cb0c5f32e5482cadd99c96f3e9) | ||
- **task** | ||
- cleanup unused requires | ||
([8a41d4e7](https://github.com/rafinskipg/git-changelog/commit/8a41d4e7b245b2698749279765bcef4748e18ac7)) | ||
- cleanup unused requires [8a41d4e7](https://github.com/rafinskipg/git-changelog/commit/8a41d4e7b245b2698749279765bcef4748e18ac7) | ||
## Branchs merged | ||
- Merge branch 'feature/add-logo' | ||
([e29b2dd8](https://github.com/rafinskipg/git-changelog/commit/e29b2dd8e088386eeec3f0c125973de6c8cdc2c6)) | ||
- Merge branch 'development' into feature/code-refactoring | ||
([34ea0198](https://github.com/rafinskipg/git-changelog/commit/34ea0198b976c72c638fd815be5a5913c67ef80a)) | ||
- Merge branch 'feature/add-logo' [e29b2dd8](https://github.com/rafinskipg/git-changelog/commit/e29b2dd8e088386eeec3f0c125973de6c8cdc2c6) | ||
- Merge branch 'development' into feature/code-refactoring [34ea0198](https://github.com/rafinskipg/git-changelog/commit/34ea0198b976c72c638fd815be5a5913c67ef80a) | ||
## Pull requests merged | ||
- Merge pull request #87 from glebcha/refactor/node-v12-compatibility | ||
([069c8d3e](https://github.com/rafinskipg/git-changelog/commit/069c8d3e5440cb45d11b8dd2bdd229058705d3b1)) | ||
- Merge pull request #74 from Treyone/master | ||
([4d539ace](https://github.com/rafinskipg/git-changelog/commit/4d539ace7ff22a9be468270114109f2565203aa4)) | ||
- Merge pull request #73 from fabn/gitlab-links | ||
([6df54f09](https://github.com/rafinskipg/git-changelog/commit/6df54f09ab62175b89a853d3695e8d43bfedac95)) | ||
- Merge pull request #70 from rafinskipg/templating | ||
([5e60232c](https://github.com/rafinskipg/git-changelog/commit/5e60232cf92b66cf50f64f3a7734de98fe2637e7)) | ||
- Merge pull request #60 from seivan/feature/latest_tag_regardless_of_branch | ||
([1ff50d0d](https://github.com/rafinskipg/git-changelog/commit/1ff50d0dc03f8c0db9961c034945c3ef8f4268f7)) | ||
- Merge pull request #58 from olamothe/master | ||
([3fed7270](https://github.com/rafinskipg/git-changelog/commit/3fed727077168815f24aad7bbf5768913e3843ab)) | ||
- Merge pull request #55 from kerimdzhanov/patch-1 | ||
([31d13896](https://github.com/rafinskipg/git-changelog/commit/31d1389637b59ac3a6c68c3f8fca99045675c36c)) | ||
- Merge pull request #50 from rafinskipg/changelogrc | ||
([fd07a4bf](https://github.com/rafinskipg/git-changelog/commit/fd07a4bf039c7c8ddbb496c644dfd5fcc1627904)) | ||
- Merge pull request #41 from pmiossec/fix_branch_option | ||
([6247118a](https://github.com/rafinskipg/git-changelog/commit/6247118a573259cbe71c6fdd28cb53dcb7f1b855)) | ||
- Merge pull request #45 from xcambar/versionName | ||
([2e50373a](https://github.com/rafinskipg/git-changelog/commit/2e50373a6f42e53598612f0e474c008624d6e80c)) | ||
- Merge pull request #47 from Sjors/patch-1 | ||
([d786fd08](https://github.com/rafinskipg/git-changelog/commit/d786fd084d7c1c250c866bec3c5d0c73b9abe271)) | ||
- Merge pull request #46 from zoner14/master | ||
([0485a1fd](https://github.com/rafinskipg/git-changelog/commit/0485a1fd4bf01662f50b93098c6b535eb7c527eb)) | ||
- Merge pull request #37 from richardthombs/fix-grunt-on-windows | ||
([5f024339](https://github.com/rafinskipg/git-changelog/commit/5f02433963b5b603c5763bd5c1a37cf8ca9e3598)) | ||
- Merge pull request #33 from richardthombs/fix-typos | ||
([2656d150](https://github.com/rafinskipg/git-changelog/commit/2656d150eb95c6ad9326e4265ba64edf8e49a11c)) | ||
- Merge pull request #30 from JohnnyEstilles/refactor/get-stream | ||
([a52b1169](https://github.com/rafinskipg/git-changelog/commit/a52b1169a2510d83d6d4fd5113ce157f30c4d4d0)) | ||
- Merge pull request #25 from JohnnyEstilles/code-climate | ||
([28053b92](https://github.com/rafinskipg/git-changelog/commit/28053b9292d3d61fb33a004f6088c244e653b76b)) | ||
- Merge pull request #23 from JohnnyEstilles/docs/readme-updates | ||
([3079151a](https://github.com/rafinskipg/git-changelog/commit/3079151a8d5f90d0830aab4437a65dff4d837b2a)) | ||
- Merge pull request #20 from JohnnyEstilles/feature/code-refactoring | ||
([be209f04](https://github.com/rafinskipg/git-changelog/commit/be209f04c22f1ce2cb82e6412c4ddf117897a9e7)) | ||
- Merge pull request #12 from jodybrewster/master | ||
([219ea809](https://github.com/rafinskipg/git-changelog/commit/219ea8091ac81a55b0210c9a7fd41a7f0ee5660f)) | ||
- Merge pull request #7 from colegleason/fix-tags | ||
([1d4f6043](https://github.com/rafinskipg/git-changelog/commit/1d4f604363094d4eee3b4d7b1ca01133edaad344)) | ||
- Merge pull request #6 from colegleason/add-q | ||
([2a712b9c](https://github.com/rafinskipg/git-changelog/commit/2a712b9cfd912f36b6f7f70d16b336575881881a)) | ||
- Merge pull request #87 from glebcha/refactor/node-v12-compatibility [069c8d3e](https://github.com/rafinskipg/git-changelog/commit/069c8d3e5440cb45d11b8dd2bdd229058705d3b1) | ||
- Merge pull request #74 from Treyone/master [4d539ace](https://github.com/rafinskipg/git-changelog/commit/4d539ace7ff22a9be468270114109f2565203aa4) | ||
- Merge pull request #73 from fabn/gitlab-links [6df54f09](https://github.com/rafinskipg/git-changelog/commit/6df54f09ab62175b89a853d3695e8d43bfedac95) | ||
- Merge pull request #70 from rafinskipg/templating [5e60232c](https://github.com/rafinskipg/git-changelog/commit/5e60232cf92b66cf50f64f3a7734de98fe2637e7) | ||
- Merge pull request #60 from seivan/feature/latest_tag_regardless_of_branch [1ff50d0d](https://github.com/rafinskipg/git-changelog/commit/1ff50d0dc03f8c0db9961c034945c3ef8f4268f7) | ||
- Merge pull request #58 from olamothe/master [3fed7270](https://github.com/rafinskipg/git-changelog/commit/3fed727077168815f24aad7bbf5768913e3843ab) | ||
- Merge pull request #55 from kerimdzhanov/patch-1 [31d13896](https://github.com/rafinskipg/git-changelog/commit/31d1389637b59ac3a6c68c3f8fca99045675c36c) | ||
- Merge pull request #50 from rafinskipg/changelogrc [fd07a4bf](https://github.com/rafinskipg/git-changelog/commit/fd07a4bf039c7c8ddbb496c644dfd5fcc1627904) | ||
- Merge pull request #41 from pmiossec/fix_branch_option [6247118a](https://github.com/rafinskipg/git-changelog/commit/6247118a573259cbe71c6fdd28cb53dcb7f1b855) | ||
- Merge pull request #45 from xcambar/versionName [2e50373a](https://github.com/rafinskipg/git-changelog/commit/2e50373a6f42e53598612f0e474c008624d6e80c) | ||
- Merge pull request #47 from Sjors/patch-1 [d786fd08](https://github.com/rafinskipg/git-changelog/commit/d786fd084d7c1c250c866bec3c5d0c73b9abe271) | ||
- Merge pull request #46 from zoner14/master [0485a1fd](https://github.com/rafinskipg/git-changelog/commit/0485a1fd4bf01662f50b93098c6b535eb7c527eb) | ||
- Merge pull request #37 from richardthombs/fix-grunt-on-windows [5f024339](https://github.com/rafinskipg/git-changelog/commit/5f02433963b5b603c5763bd5c1a37cf8ca9e3598) | ||
- Merge pull request #33 from richardthombs/fix-typos [2656d150](https://github.com/rafinskipg/git-changelog/commit/2656d150eb95c6ad9326e4265ba64edf8e49a11c) | ||
- Merge pull request #30 from JohnnyEstilles/refactor/get-stream [a52b1169](https://github.com/rafinskipg/git-changelog/commit/a52b1169a2510d83d6d4fd5113ce157f30c4d4d0) | ||
- Merge pull request #25 from JohnnyEstilles/code-climate [28053b92](https://github.com/rafinskipg/git-changelog/commit/28053b9292d3d61fb33a004f6088c244e653b76b) | ||
- Merge pull request #23 from JohnnyEstilles/docs/readme-updates [3079151a](https://github.com/rafinskipg/git-changelog/commit/3079151a8d5f90d0830aab4437a65dff4d837b2a) | ||
- Merge pull request #20 from JohnnyEstilles/feature/code-refactoring [be209f04](https://github.com/rafinskipg/git-changelog/commit/be209f04c22f1ce2cb82e6412c4ddf117897a9e7) | ||
- Merge pull request #12 from jodybrewster/master [219ea809](https://github.com/rafinskipg/git-changelog/commit/219ea8091ac81a55b0210c9a7fd41a7f0ee5660f) | ||
- Merge pull request #7 from colegleason/fix-tags [1d4f6043](https://github.com/rafinskipg/git-changelog/commit/1d4f604363094d4eee3b4d7b1ca01133edaad344) | ||
- Merge pull request #6 from colegleason/add-q [2a712b9c](https://github.com/rafinskipg/git-changelog/commit/2a712b9cfd912f36b6f7f70d16b336575881881a) | ||
@@ -426,4 +281,3 @@ | ||
--- | ||
<sub><sup>*Generated with [git-changelog](https://github.com/rafinskipg/git-changelog). If you have any problems or suggestions, create an issue.* :) **Thanks** </sub></sup> |
@@ -76,2 +76,14 @@ /* | ||
}, | ||
customCommitTemplate: { | ||
options: { | ||
app_name : 'Custom Commit Template', | ||
intro: 'This changelog is generated with a custom commit template', | ||
file: 'output/customCommitTemplate.md', | ||
commit_template: 'templates/commit_template_two.md', | ||
logo : 'https://github.com/rafinskipg/git-changelog/raw/master/images/git-changelog-logo.png', | ||
version_name : 'custom commit template potatoe', | ||
tag: 'v0.0.1', | ||
debug: true | ||
} | ||
}, | ||
extended: { | ||
@@ -78,0 +90,0 @@ options: { |
@@ -7,3 +7,3 @@ <img width="300px" src="https://github.com/rafinskipg/git-changelog/raw/master/images/git-changelog-logo.png" /> | ||
## squeezy potatoe v0.0.1 ( Wed Feb 19 2020 20:14:36 GMT+0100 (Central European Standard Time) ) | ||
## squeezy potatoe v0.0.1 ( Mon May 25 2020 10:21:49 GMT+0200 (Central European Summer Time) ) | ||
@@ -24,9 +24,9 @@ | ||
- **git log** | ||
- Ignores letter case (d4cff0a86c5ce46405f3c0dd03f9c49a7d620792, Closes: [#54](git@github.com:rafinskipg/git-changelog/issues/54)) | ||
- Ignores letter case (d4cff0a86c5ce46405f3c0dd03f9c49a7d620792, Closes: [#54](https://github.com/rafinskipg/git-changelog/issues/54)) | ||
- **git tag** | ||
- get latest tag, regardless of branch for workflows that rely on git-flow releases (48800306fa5ac19b7e9a4c6d7f2f432ee8ae4d84) | ||
- **git_changelog_generate** | ||
- pass tag if it exists to gitReadLog (7c801927672792fc9a818653b74c78d77c7bff9e, Closes: [#5](git@github.com:rafinskipg/git-changelog/issues/5)) | ||
- pass tag if it exists to gitReadLog (7c801927672792fc9a818653b74c78d77c7bff9e, Closes: [#5](https://github.com/rafinskipg/git-changelog/issues/5)) | ||
- **nested lists** | ||
- nested list fix. Closes #9 (2285551810919bd4d8a749ae3ddd88f9cedcdd0e, Closes: [#9](git@github.com:rafinskipg/git-changelog/issues/9)) | ||
- nested list fix. Closes #9 (2285551810919bd4d8a749ae3ddd88f9cedcdd0e, Closes: [#9](https://github.com/rafinskipg/git-changelog/issues/9)) | ||
- **options** | ||
@@ -41,5 +41,7 @@ - Use version_name instead of version (43fdac855bfd2f67a43acc93ecc8ef2e7a81f45c) - use repo_url instead of url (346b39491923a49a3421f174a566b204d5fc7db9) | ||
- **template** | ||
- Fixes missing space in version_name output in template (f494f4a93a3c4a245f706cfb65f735a5ccccb2ce, Closes: [#72](git@github.com:rafinskipg/git-changelog/issues/72)) | ||
- Fixes missing space in version_name output in template (f494f4a93a3c4a245f706cfb65f735a5ccccb2ce, Closes: [#72](https://github.com/rafinskipg/git-changelog/issues/72)) | ||
- **travis** | ||
- Removed 0.12 nodejs version, addd 7.3.0 (1819083690e70e0af28d0c155b6fa67cbeb1dfb3) | ||
- **url** | ||
- extract http url from any provided git url (aeae305a9ce35d7ecb93ff116f02afc887dd5639) | ||
@@ -49,2 +51,3 @@ | ||
## Features | ||
- commit template (#91) (06eebc4ddc477842d0e12cf7fb68c5b22814ffbf, Closes: [#71](https://github.com/rafinskipg/git-changelog/issues/71) | ||
- Show pull requests merged (65f5504ce8e92fa39ced7da308e471cc85f750b5 | ||
@@ -78,3 +81,3 @@ - improve `git log` synthax command to use the branch name (4ce6128103ece64b44695ac196b457e63649229b | ||
- **readme** | ||
- Updated readme (2d7b17625b9783532ee9ba655651cf8d475aa4ce) - Unuseful commit (4373f4726eedad6d450c8255f5e57036a3e5e223) - fix link to the `.changelogrc` section (2975171d89e1823253399bbe87a184e9164e9799) - Follow proper style in example commits (6fef01ba8a71bb5cd779ddb84f52b8f75296618d) - Reorder contents (14e8a772c3a05c32bc9fba6f75565132025d4942) - TOC (d6338ab45f6e45e5562e5e6f4f1db86f39ca458d) - Added more information on the new specification (f984eedde6be5db804d0b6bf2e238ab2e7ca15fb) - added more commit examples and npm versioning usage (51341b7aae082c6c1a1caaa77dfdbfdc2622a56f) - add logo (1af36c9b0dad5cc0c2a321e3f280a89d76a8fb2b) - Final readme Fixes #1 Closes #1 (e725d8f4bf477b517ca6185a75fdfa0aa660b3be, Closes: [#1](git@github.com:rafinskipg/git-changelog/issues/1)) | ||
- Changed readme structure (59ba5bc0ab86f39d46a0403d9403351eed0bc692) - Updated readme (2d7b17625b9783532ee9ba655651cf8d475aa4ce) - Unuseful commit (4373f4726eedad6d450c8255f5e57036a3e5e223) - fix link to the `.changelogrc` section (2975171d89e1823253399bbe87a184e9164e9799) - Follow proper style in example commits (6fef01ba8a71bb5cd779ddb84f52b8f75296618d) - Reorder contents (14e8a772c3a05c32bc9fba6f75565132025d4942) - TOC (d6338ab45f6e45e5562e5e6f4f1db86f39ca458d) - Added more information on the new specification (f984eedde6be5db804d0b6bf2e238ab2e7ca15fb) - added more commit examples and npm versioning usage (51341b7aae082c6c1a1caaa77dfdbfdc2622a56f) - add logo (1af36c9b0dad5cc0c2a321e3f280a89d76a8fb2b) - Final readme Fixes #1 Closes #1 (e725d8f4bf477b517ca6185a75fdfa0aa660b3be, Closes: [#1](https://github.com/rafinskipg/git-changelog/issues/1)) | ||
@@ -130,2 +133,3 @@ | ||
## Chore | ||
- New version (567232d0ee3db9c598c89a2154701dd89f0244e0 | ||
- added node v12 to travis config (b527965ba0922f16342801c258790349f7195766 | ||
@@ -132,0 +136,0 @@ - updated fs-extra version to latest (99905e5c0d44fb33305d27fd94540304b145405e |
@@ -7,121 +7,80 @@ <img width="300px" src="https://github.com/rafinskipg/git-changelog/raw/master/images/git-changelog-logo.png" /> | ||
## squeezy potatoe v0.0.1 ( Wed Feb 19 2020 20:14:36 GMT+0100 (Central European Standard Time) ) | ||
## squeezy potatoe v0.0.1 ( Mon May 25 2020 10:21:49 GMT+0200 (Central European Summer Time) ) | ||
## Bug Fixes | ||
- fix error messages | ||
([ee5068bf](git@github.com:rafinskipg/git-changelog/commit/ee5068bffdbb9c0e45c8ce9ce0c2f790440f19e3)) | ||
- Fix generation of logs | ||
([cddb2408](git@github.com:rafinskipg/git-changelog/commit/cddb2408fa3017be704acac51dabbba9f477a547)) | ||
- correctly get branch name from the command line | ||
([4baa075b](git@github.com:rafinskipg/git-changelog/commit/4baa075bd93f878ee708817f911fe89c102dec02)) | ||
- correctly detect when running under grunt on Windows | ||
([4205ea49](git@github.com:rafinskipg/git-changelog/commit/4205ea49a893e4d1807a39268739c13754d40cf2)) | ||
- fixed tests | ||
([2e60172a](git@github.com:rafinskipg/git-changelog/commit/2e60172a4666c70d27e66d15dad297b89fff9583)) | ||
- Stream didn't close properly | ||
([99f228cf](git@github.com:rafinskipg/git-changelog/commit/99f228cfa5cb26c46ef9e3b00171a5e3d38fd844)) | ||
- Github commit url | ||
([c186f2d8](git@github.com:rafinskipg/git-changelog/commit/c186f2d877e7907305953610bcaaef331406178a)) | ||
- fix error messages [ee5068bf](https://github.com/rafinskipg/git-changelog/commit/ee5068bffdbb9c0e45c8ce9ce0c2f790440f19e3) | ||
- Fix generation of logs [cddb2408](https://github.com/rafinskipg/git-changelog/commit/cddb2408fa3017be704acac51dabbba9f477a547) | ||
- correctly get branch name from the command line [4baa075b](https://github.com/rafinskipg/git-changelog/commit/4baa075bd93f878ee708817f911fe89c102dec02) | ||
- correctly detect when running under grunt on Windows [4205ea49](https://github.com/rafinskipg/git-changelog/commit/4205ea49a893e4d1807a39268739c13754d40cf2) | ||
- fixed tests [2e60172a](https://github.com/rafinskipg/git-changelog/commit/2e60172a4666c70d27e66d15dad297b89fff9583) | ||
- Stream didn't close properly [99f228cf](https://github.com/rafinskipg/git-changelog/commit/99f228cfa5cb26c46ef9e3b00171a5e3d38fd844) | ||
- Github commit url [c186f2d8](https://github.com/rafinskipg/git-changelog/commit/c186f2d877e7907305953610bcaaef331406178a) | ||
- **checkpath** | ||
- add missing require('path') | ||
([e5dab826](git@github.com:rafinskipg/git-changelog/commit/e5dab826062bd22dd37c8c3d3c24a4d9b4701f6d)) | ||
- add missing require('path') [e5dab826](https://github.com/rafinskipg/git-changelog/commit/e5dab826062bd22dd37c8c3d3c24a4d9b4701f6d) | ||
- **generate** | ||
- create path to file if it does not already exist | ||
([62f6210f](git@github.com:rafinskipg/git-changelog/commit/62f6210f6895bcf5f9984b26948178b1a93cbc9e)) | ||
- create path to file if it does not already exist [62f6210f](https://github.com/rafinskipg/git-changelog/commit/62f6210f6895bcf5f9984b26948178b1a93cbc9e) | ||
- **git log** | ||
- Ignores letter case | ||
([d4cff0a8](git@github.com:rafinskipg/git-changelog/commit/d4cff0a86c5ce46405f3c0dd03f9c49a7d620792), | ||
[#54](git@github.com:rafinskipg/git-changelog/issues/54)) | ||
- Ignores letter case [d4cff0a8](https://github.com/rafinskipg/git-changelog/commit/d4cff0a86c5ce46405f3c0dd03f9c49a7d620792) ([#54](https://github.com/rafinskipg/git-changelog/issues/54)) | ||
- **git tag** | ||
- get latest tag, regardless of branch for workflows that rely on git-flow releases | ||
([48800306](git@github.com:rafinskipg/git-changelog/commit/48800306fa5ac19b7e9a4c6d7f2f432ee8ae4d84)) | ||
- get latest tag, regardless of branch for workflows that rely on git-flow releases [48800306](https://github.com/rafinskipg/git-changelog/commit/48800306fa5ac19b7e9a4c6d7f2f432ee8ae4d84) | ||
- **git_changelog_generate** | ||
- pass tag if it exists to gitReadLog | ||
([7c801927](git@github.com:rafinskipg/git-changelog/commit/7c801927672792fc9a818653b74c78d77c7bff9e), | ||
[#5](git@github.com:rafinskipg/git-changelog/issues/5)) | ||
- pass tag if it exists to gitReadLog [7c801927](https://github.com/rafinskipg/git-changelog/commit/7c801927672792fc9a818653b74c78d77c7bff9e) ([#5](https://github.com/rafinskipg/git-changelog/issues/5)) | ||
- **nested lists** | ||
- nested list fix. Closes #9 | ||
([22855518](git@github.com:rafinskipg/git-changelog/commit/2285551810919bd4d8a749ae3ddd88f9cedcdd0e), | ||
[#9](git@github.com:rafinskipg/git-changelog/issues/9)) | ||
- nested list fix. Closes #9 [22855518](https://github.com/rafinskipg/git-changelog/commit/2285551810919bd4d8a749ae3ddd88f9cedcdd0e) ([#9](https://github.com/rafinskipg/git-changelog/issues/9)) | ||
- **options** | ||
- Use version_name instead of version | ||
([43fdac85](git@github.com:rafinskipg/git-changelog/commit/43fdac855bfd2f67a43acc93ecc8ef2e7a81f45c)) | ||
- use repo_url instead of url | ||
([346b3949](git@github.com:rafinskipg/git-changelog/commit/346b39491923a49a3421f174a566b204d5fc7db9)) | ||
- Use version_name instead of version [43fdac85](https://github.com/rafinskipg/git-changelog/commit/43fdac855bfd2f67a43acc93ecc8ef2e7a81f45c) | ||
- use repo_url instead of url [346b3949](https://github.com/rafinskipg/git-changelog/commit/346b39491923a49a3421f174a566b204d5fc7db9) | ||
- **package.json** | ||
- move q to dependancies since it is required to run | ||
([257119cf](git@github.com:rafinskipg/git-changelog/commit/257119cf2bb6d8f341a5d65a2f47bcf803dff205)) | ||
- move q to dependancies since it is required to run [257119cf](https://github.com/rafinskipg/git-changelog/commit/257119cf2bb6d8f341a5d65a2f47bcf803dff205) | ||
- **params** | ||
- Restores versionName in CLI | ||
([1d97f952](git@github.com:rafinskipg/git-changelog/commit/1d97f952bd5d37f67c1febdf161f4ce9b310eebf)) | ||
- Restores versionName in CLI [1d97f952](https://github.com/rafinskipg/git-changelog/commit/1d97f952bd5d37f67c1febdf161f4ce9b310eebf) | ||
- **provider** | ||
- Added provider option in the command | ||
([8f3b3fef](git@github.com:rafinskipg/git-changelog/commit/8f3b3fef0d123e4fd11ea79bb9552285befc6689)) | ||
- Added provider option in the command [8f3b3fef](https://github.com/rafinskipg/git-changelog/commit/8f3b3fef0d123e4fd11ea79bb9552285befc6689) | ||
- **template** | ||
- Fixes missing space in version_name output in template | ||
([f494f4a9](git@github.com:rafinskipg/git-changelog/commit/f494f4a93a3c4a245f706cfb65f735a5ccccb2ce), | ||
[#72](git@github.com:rafinskipg/git-changelog/issues/72)) | ||
- Fixes missing space in version_name output in template [f494f4a9](https://github.com/rafinskipg/git-changelog/commit/f494f4a93a3c4a245f706cfb65f735a5ccccb2ce) ([#72](https://github.com/rafinskipg/git-changelog/issues/72)) | ||
- **travis** | ||
- Removed 0.12 nodejs version, addd 7.3.0 | ||
([18190836](git@github.com:rafinskipg/git-changelog/commit/1819083690e70e0af28d0c155b6fa67cbeb1dfb3)) | ||
- Removed 0.12 nodejs version, addd 7.3.0 [18190836](https://github.com/rafinskipg/git-changelog/commit/1819083690e70e0af28d0c155b6fa67cbeb1dfb3) | ||
- **url** | ||
- extract http url from any provided git url [aeae305a](https://github.com/rafinskipg/git-changelog/commit/aeae305a9ce35d7ecb93ff116f02afc887dd5639) | ||
## Pull requests merged | ||
- Merge pull request #87 from glebcha/refactor/node-v12-compatibility | ||
([069c8d3e](git@github.com:rafinskipg/git-changelog/commit/069c8d3e5440cb45d11b8dd2bdd229058705d3b1)) | ||
- Merge pull request #74 from Treyone/master | ||
([4d539ace](git@github.com:rafinskipg/git-changelog/commit/4d539ace7ff22a9be468270114109f2565203aa4)) | ||
- Merge pull request #73 from fabn/gitlab-links | ||
([6df54f09](git@github.com:rafinskipg/git-changelog/commit/6df54f09ab62175b89a853d3695e8d43bfedac95)) | ||
- Merge pull request #70 from rafinskipg/templating | ||
([5e60232c](git@github.com:rafinskipg/git-changelog/commit/5e60232cf92b66cf50f64f3a7734de98fe2637e7)) | ||
- Merge pull request #60 from seivan/feature/latest_tag_regardless_of_branch | ||
([1ff50d0d](git@github.com:rafinskipg/git-changelog/commit/1ff50d0dc03f8c0db9961c034945c3ef8f4268f7)) | ||
- Merge pull request #58 from olamothe/master | ||
([3fed7270](git@github.com:rafinskipg/git-changelog/commit/3fed727077168815f24aad7bbf5768913e3843ab)) | ||
- Merge pull request #55 from kerimdzhanov/patch-1 | ||
([31d13896](git@github.com:rafinskipg/git-changelog/commit/31d1389637b59ac3a6c68c3f8fca99045675c36c)) | ||
- Merge pull request #50 from rafinskipg/changelogrc | ||
([fd07a4bf](git@github.com:rafinskipg/git-changelog/commit/fd07a4bf039c7c8ddbb496c644dfd5fcc1627904)) | ||
- Merge pull request #41 from pmiossec/fix_branch_option | ||
([6247118a](git@github.com:rafinskipg/git-changelog/commit/6247118a573259cbe71c6fdd28cb53dcb7f1b855)) | ||
- Merge pull request #45 from xcambar/versionName | ||
([2e50373a](git@github.com:rafinskipg/git-changelog/commit/2e50373a6f42e53598612f0e474c008624d6e80c)) | ||
- Merge pull request #47 from Sjors/patch-1 | ||
([d786fd08](git@github.com:rafinskipg/git-changelog/commit/d786fd084d7c1c250c866bec3c5d0c73b9abe271)) | ||
- Merge pull request #46 from zoner14/master | ||
([0485a1fd](git@github.com:rafinskipg/git-changelog/commit/0485a1fd4bf01662f50b93098c6b535eb7c527eb)) | ||
- Merge pull request #37 from richardthombs/fix-grunt-on-windows | ||
([5f024339](git@github.com:rafinskipg/git-changelog/commit/5f02433963b5b603c5763bd5c1a37cf8ca9e3598)) | ||
- Merge pull request #33 from richardthombs/fix-typos | ||
([2656d150](git@github.com:rafinskipg/git-changelog/commit/2656d150eb95c6ad9326e4265ba64edf8e49a11c)) | ||
- Merge pull request #30 from JohnnyEstilles/refactor/get-stream | ||
([a52b1169](git@github.com:rafinskipg/git-changelog/commit/a52b1169a2510d83d6d4fd5113ce157f30c4d4d0)) | ||
- Merge pull request #25 from JohnnyEstilles/code-climate | ||
([28053b92](git@github.com:rafinskipg/git-changelog/commit/28053b9292d3d61fb33a004f6088c244e653b76b)) | ||
- Merge pull request #23 from JohnnyEstilles/docs/readme-updates | ||
([3079151a](git@github.com:rafinskipg/git-changelog/commit/3079151a8d5f90d0830aab4437a65dff4d837b2a)) | ||
- Merge pull request #20 from JohnnyEstilles/feature/code-refactoring | ||
([be209f04](git@github.com:rafinskipg/git-changelog/commit/be209f04c22f1ce2cb82e6412c4ddf117897a9e7)) | ||
- Merge pull request #12 from jodybrewster/master | ||
([219ea809](git@github.com:rafinskipg/git-changelog/commit/219ea8091ac81a55b0210c9a7fd41a7f0ee5660f)) | ||
- Merge pull request #7 from colegleason/fix-tags | ||
([1d4f6043](git@github.com:rafinskipg/git-changelog/commit/1d4f604363094d4eee3b4d7b1ca01133edaad344)) | ||
- Merge pull request #6 from colegleason/add-q | ||
([2a712b9c](git@github.com:rafinskipg/git-changelog/commit/2a712b9cfd912f36b6f7f70d16b336575881881a)) | ||
- Merge pull request #87 from glebcha/refactor/node-v12-compatibility [069c8d3e](https://github.com/rafinskipg/git-changelog/commit/069c8d3e5440cb45d11b8dd2bdd229058705d3b1) | ||
- Merge pull request #74 from Treyone/master [4d539ace](https://github.com/rafinskipg/git-changelog/commit/4d539ace7ff22a9be468270114109f2565203aa4) | ||
- Merge pull request #73 from fabn/gitlab-links [6df54f09](https://github.com/rafinskipg/git-changelog/commit/6df54f09ab62175b89a853d3695e8d43bfedac95) | ||
- Merge pull request #70 from rafinskipg/templating [5e60232c](https://github.com/rafinskipg/git-changelog/commit/5e60232cf92b66cf50f64f3a7734de98fe2637e7) | ||
- Merge pull request #60 from seivan/feature/latest_tag_regardless_of_branch [1ff50d0d](https://github.com/rafinskipg/git-changelog/commit/1ff50d0dc03f8c0db9961c034945c3ef8f4268f7) | ||
- Merge pull request #58 from olamothe/master [3fed7270](https://github.com/rafinskipg/git-changelog/commit/3fed727077168815f24aad7bbf5768913e3843ab) | ||
- Merge pull request #55 from kerimdzhanov/patch-1 [31d13896](https://github.com/rafinskipg/git-changelog/commit/31d1389637b59ac3a6c68c3f8fca99045675c36c) | ||
- Merge pull request #50 from rafinskipg/changelogrc [fd07a4bf](https://github.com/rafinskipg/git-changelog/commit/fd07a4bf039c7c8ddbb496c644dfd5fcc1627904) | ||
- Merge pull request #41 from pmiossec/fix_branch_option [6247118a](https://github.com/rafinskipg/git-changelog/commit/6247118a573259cbe71c6fdd28cb53dcb7f1b855) | ||
- Merge pull request #45 from xcambar/versionName [2e50373a](https://github.com/rafinskipg/git-changelog/commit/2e50373a6f42e53598612f0e474c008624d6e80c) | ||
- Merge pull request #47 from Sjors/patch-1 [d786fd08](https://github.com/rafinskipg/git-changelog/commit/d786fd084d7c1c250c866bec3c5d0c73b9abe271) | ||
- Merge pull request #46 from zoner14/master [0485a1fd](https://github.com/rafinskipg/git-changelog/commit/0485a1fd4bf01662f50b93098c6b535eb7c527eb) | ||
- Merge pull request #37 from richardthombs/fix-grunt-on-windows [5f024339](https://github.com/rafinskipg/git-changelog/commit/5f02433963b5b603c5763bd5c1a37cf8ca9e3598) | ||
- Merge pull request #33 from richardthombs/fix-typos [2656d150](https://github.com/rafinskipg/git-changelog/commit/2656d150eb95c6ad9326e4265ba64edf8e49a11c) | ||
- Merge pull request #30 from JohnnyEstilles/refactor/get-stream [a52b1169](https://github.com/rafinskipg/git-changelog/commit/a52b1169a2510d83d6d4fd5113ce157f30c4d4d0) | ||
- Merge pull request #25 from JohnnyEstilles/code-climate [28053b92](https://github.com/rafinskipg/git-changelog/commit/28053b9292d3d61fb33a004f6088c244e653b76b) | ||
- Merge pull request #23 from JohnnyEstilles/docs/readme-updates [3079151a](https://github.com/rafinskipg/git-changelog/commit/3079151a8d5f90d0830aab4437a65dff4d837b2a) | ||
- Merge pull request #20 from JohnnyEstilles/feature/code-refactoring [be209f04](https://github.com/rafinskipg/git-changelog/commit/be209f04c22f1ce2cb82e6412c4ddf117897a9e7) | ||
- Merge pull request #12 from jodybrewster/master [219ea809](https://github.com/rafinskipg/git-changelog/commit/219ea8091ac81a55b0210c9a7fd41a7f0ee5660f) | ||
- Merge pull request #7 from colegleason/fix-tags [1d4f6043](https://github.com/rafinskipg/git-changelog/commit/1d4f604363094d4eee3b4d7b1ca01133edaad344) | ||
- Merge pull request #6 from colegleason/add-q [2a712b9c](https://github.com/rafinskipg/git-changelog/commit/2a712b9cfd912f36b6f7f70d16b336575881881a) | ||
@@ -131,4 +90,3 @@ | ||
--- | ||
<sub><sup>*Generated with [git-changelog](https://github.com/rafinskipg/git-changelog). If you have any problems or suggestions, create an issue.* :) **Thanks** </sub></sup> |
{ | ||
"name": "git-changelog", | ||
"description": "A git changelog tool", | ||
"version": "1.2.0", | ||
"version": "2.0.0", | ||
"homepage": "https://github.com/rafinskipg/git-changelog", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -20,10 +20,14 @@ ![git-changelog logo][logo-image] | ||
- [Breaking changes](#breaking-changes) | ||
- [![git-changelog logo][logo-image]](#git-changelog-logo) | ||
- [Breaking changes and updates](#breaking-changes-and-updates) | ||
- [v2.0.0](#v200) | ||
- [V1.0.0](#v100) | ||
- [v1.1.0](#v110) | ||
- [`.changelogrc` specification](#changelogrc-specification) | ||
- [The "git_changelog" task](#the-git_changelog-task) | ||
- [Options | Defaults](#options--defaults) | ||
- [The "git_changelog" task](#the-%22gitchangelog%22-task) | ||
- [Grunt Task](#grunt-task) | ||
- [Getting Started](#getting-started) | ||
- [Options | Defaults](#options-%7C-defaults) | ||
- [Command Line](#command-line) | ||
- [Git Commit Guidelines - Source : "Angular JS"](#git-commit-guidelines---source--angular-js) | ||
- [Git Commit Guidelines - Source : "Angular JS"](#git-commit-guidelines---source--%22angular-js%22) | ||
- [Commit Message Format](#commit-message-format) | ||
@@ -33,8 +37,6 @@ - [Example types](#example-types) | ||
- [Subject](#subject) | ||
- [Body](#body) | ||
- [Footer](#footer) | ||
- [Tagging your project](#tagging-your-project) | ||
- [ROADMAP](#roadmap) | ||
- [v0.3.0](#v030) | ||
- [Release History](#release-history) | ||
- [v2.0.0](#v200-1) | ||
- [v1.0.0](#v100-1) | ||
- [Contributors](#contributors) | ||
@@ -45,4 +47,23 @@ | ||
## Breaking changes | ||
## Breaking changes and updates | ||
### v2.0.0 | ||
Included `commit_template` option, allows to customize commit outputs. | ||
You can use the following commit properties: | ||
- commit.subject | ||
- commit.body | ||
- commit.link | ||
- commit.hash | ||
- commit.breaks | ||
- commit.type | ||
- commit.component | ||
- closes: String containing the issues closed | ||
- link: Link to the commit | ||
- ~~commit.author~~ | ||
### V1.0.0 | ||
Since version `1.0.0` git-changelog has included the [`.changelogrc` specification](#changelogrc-specification) and has discontinued the next options: | ||
@@ -53,9 +74,7 @@ - `grep_commits` option has been removed in favour of the `.changelogrc` options | ||
### v1.1.0 | ||
#### v1.1.0 | ||
- `version_name` instead of `version` | ||
**ATTENTION: Help wanted, there are some easy issues that you can contribute to. WINK WINK** | ||
## `.changelogrc` specification | ||
@@ -77,2 +96,3 @@ | ||
"template": "myCustomTemplate.md", | ||
"commit_template": "myCommitTemplate.md" | ||
"sections": [ | ||
@@ -129,4 +149,5 @@ { | ||
* **version_name**: The version name of the project. | ||
* **file**: The name of the file that will be generated. Defaults to `CHANGELOG.md`, | ||
* **file**: The name of the file that will be generated. Defaults to `CHANGELOG.md`, leave empty for console stream | ||
* **template**: The template for generating the changelog. It defaults to the one inside this project (/templates/template.md) | ||
* **commit_template**: The template for printing each of the commits of the project. It defaults to the one inside this project (/templates/commit_template.md) | ||
* **app_name** : The name of the project. Defaults to `My App - Changelog` | ||
@@ -235,19 +256,20 @@ * **intro** : The introduction text on the header of the changelog. Defaults to `null` | ||
Options: | ||
-V, --version output the version number | ||
-e, --extended Extended log | ||
-n, --version_name [version_name] Name of the version | ||
-a, --app_name [app_name] Name [app_name] | ||
-b, --branch [branch] Branch name [branch] | ||
-f, --file [file] File [file] | ||
-tpl, --template [template] Template [template] | ||
-ctpl, --commit_template [commit_template] Commit Template [commit_template] | ||
-r, --repo_url [repo_url] Repo url [repo_url] | ||
-l, --logo [logo] Logo path [logo] | ||
-i, --intro [intro] intro text [intro] | ||
-t, --tag [tag] Since tag [tag] | ||
-rc, --changelogrc [changelogrc] .changelogrc relative path [changelogrc] | ||
-g, --grep [grep] Grep commits for [grep] | ||
-d, --debug Debugger | ||
-p, --provider [provider] Provider: gitlab, github, bitbucket (Optional) | ||
-h, --help output usage information | ||
-h, --help output usage information | ||
-V, --version output the version number | ||
-e, --extended Extended log | ||
-n, --version_name [version_name] Name of the version | ||
-a, --app_name [app_name] Name [app_name] | ||
-b, --branch [branch] Branch name [branch] | ||
-f, --file [file] File [file] | ||
-tpl, --template [template] Template [template] | ||
-r, --repo_url [repo_url] Repo url [repo_url] | ||
-l, --logo [logo] Logo path [logo] | ||
-i, --intro [intro] intro text [intro] | ||
-t, --tag [tag] Since tag [tag] | ||
-rc, --changelogrc [changelogrc] .changelogrc relative path [changelogrc] | ||
-g, --grep [grep] Grep commits for [grep] | ||
-d, --debug Debugger | ||
-p, --provider [provider] Provider: gitlab, github, bitbucket (Optional) | ||
@@ -360,10 +382,9 @@ ``` | ||
## ROADMAP | ||
### v2.0.0 | ||
- Downloadable resources area on the generated changelog, for linking to your zip project folder of certain tag. | ||
## Release History | ||
### v2.0.0 | ||
- Introduced *Commit Template* | ||
### v1.0.0 | ||
@@ -370,0 +391,0 @@ |
@@ -22,2 +22,3 @@ #!/usr/bin/env node | ||
.option('-tpl, --template [template]', 'Template [template]') | ||
.option('-ctpl, --commit_template [commit_template]', 'Commit Template [commit_template]') | ||
.option('-r, --repo_url [repo_url]', 'Repo url [repo_url]') | ||
@@ -65,2 +66,6 @@ .option('-l, --logo [logo]', 'Logo path [logo]') | ||
if (program.commit_template){ | ||
options.commit_template = program.commit_template; | ||
} | ||
if (program.changelogrc){ | ||
@@ -67,0 +72,0 @@ options.changelogrc = program.changelogrc; |
@@ -15,2 +15,3 @@ //Defaults options | ||
template: 'templates/template.md', | ||
commit_template: 'templates/commit_template.md', | ||
changelogrc : '.changelogrc', | ||
@@ -17,0 +18,0 @@ sections: [ |
@@ -7,10 +7,13 @@ 'use strict'; | ||
const debug = require('debug')('changelog:getRepoUrl'); | ||
const getGitRepoInfo = require('./get-git-repo-info'); | ||
function cmdDone(code, stdout) { | ||
debug('returning git repo url command'); | ||
if (code) { | ||
throw "Sorry, you've not configured an origin remote or passed a `repo_url` config value"; | ||
} else { | ||
stdout = stdout.replace('\n', '').replace('.git', ''); | ||
return stdout; | ||
let { repoUrl } = getGitRepoInfo(stdout); | ||
return repoUrl; | ||
} | ||
@@ -17,0 +20,0 @@ } |
@@ -19,2 +19,3 @@ 'use strict'; | ||
this.message('template', this.options.template); | ||
this.message('commit_template', this.options.commit_template); | ||
this.message('logo', this.options.logo); | ||
@@ -21,0 +22,0 @@ this.message('sections', this.options.sections); |
@@ -12,2 +12,3 @@ 'use strict'; | ||
log.call(this, 'info', ' - The template file is', this.options.template); | ||
log.call(this, 'info', ' - The commit template file is', this.options.commit_template); | ||
@@ -38,3 +39,3 @@ this.options.grep_commits = this.options.sections.map(({ grep }) => grep).join('|'); | ||
this.initOptions(params); | ||
const promise = loadRC ? this.loadChangelogRc() : Promise.resolve(params); | ||
@@ -41,0 +42,0 @@ |
'use strict'; | ||
const { readFile } = require('fs'); | ||
@@ -11,5 +12,4 @@ const { promisify } = require('util'); | ||
function loadDefaultTemplate(logger){ | ||
const templatePath = `${__dirname}/../../templates/template.md`; | ||
function loadDefaultTemplate(templatePath, logger){ | ||
return readFileAsync(templatePath, 'utf8') | ||
@@ -27,3 +27,3 @@ .then(data => { | ||
function readTemplateFile(template, logger) { | ||
function readTemplateFile(template, defaultTemplate, logger) { | ||
debug('finding template file'); | ||
@@ -42,36 +42,58 @@ | ||
logger('error', 'No custom template found', err); | ||
return loadDefaultTemplate(logger); | ||
return loadDefaultTemplate(defaultTemplate, logger); | ||
}); | ||
} | ||
function loadCommitTemplateFile(file, defaultTemplate, log) { | ||
return readTemplateFile(file, defaultTemplate, log) | ||
.then(contents => { | ||
log('debug', 'Commit template loaded'); | ||
return contents; | ||
}) | ||
.catch(err => { | ||
log('error', 'Error loading commit template', err); | ||
return null; | ||
}); | ||
} | ||
function loadTemplateFile(data) { | ||
this.log('debug','loading template from', this.options.template); | ||
this.log('debug', 'loading commit template from ', this.options.commit_template); | ||
const { printCommit, linkToCommit, linkToIssue, options } = this; | ||
log.call(this, 'debug','loading template from', options.template); | ||
const commitTemplatePath = `${__dirname}/../../templates/commit_template.md`; | ||
const templatePath = `${__dirname}/../../templates/template.md`; | ||
const viewHelpers = { | ||
getCommitLinks: commit => linkToCommit(commit.hash), | ||
getCommitCloses: commit => commit.closes.map(linkToIssue, this), | ||
printCommit: printCommit.bind(this) | ||
}; | ||
return loadCommitTemplateFile(options.commit_template, commitTemplatePath, this.log.bind(this)) | ||
.then(commitTemplate => { | ||
const viewHelpers = { | ||
getCommitLinks: commit => linkToCommit(commit.hash), | ||
getCommitCloses: commit => commit.closes.map(linkToIssue, this), | ||
printCommit: (commit, printCommitLinks) => printCommit.bind(this)(commit, printCommitLinks, commitTemplate) | ||
}; | ||
_.extend(data, viewHelpers); | ||
_.extend(data, viewHelpers); | ||
return readTemplateFile(options.template, log.bind(this)) | ||
.then(contents => { | ||
if(contents){ | ||
try{ | ||
const template = _.template(contents, data); | ||
return template(data); | ||
}catch(e){ | ||
log.call(this, 'error', 'Invalid template file', e); | ||
throw `Invalid template file:\n ${e}`; | ||
} | ||
}else{ | ||
return null; | ||
} | ||
return readTemplateFile(options.template, templatePath, log.bind(this)) | ||
.then(contents => { | ||
if(contents){ | ||
try{ | ||
const template = _.template(contents, data); | ||
return template(data); | ||
}catch(e){ | ||
log.call(this, 'error', 'Invalid template file', e); | ||
throw `Invalid template file:\n ${e}`; | ||
} | ||
}else{ | ||
return null; | ||
} | ||
}); | ||
}); | ||
} | ||
module.exports = loadTemplateFile; |
var debug = require('debug')('changelog:printSection'); | ||
var format = require('util').format; | ||
var _ = require('lodash'); | ||
function printCommit(commit, printCommitLinks) { | ||
var prefix = ''; | ||
var result = ''; | ||
if (printCommitLinks) { | ||
result += format('%s\n (%s', commit.subject, this.linkToCommit(commit.hash)); | ||
if (commit.closes.length) { | ||
result += ',\n ' + commit.closes.map(this.linkToIssue, this).join(', '); | ||
function printCommit(commit, printCommitLinks, template) { | ||
const commitLink = format('%s\n (%s', commit.subject, this.linkToCommit(commit.hash)); | ||
const closes = commit.closes.length ? commit.closes.map(this.linkToIssue, this).join(', ') : ''; | ||
if (!template) { | ||
var result = ''; | ||
if (printCommitLinks) { | ||
result += commitLink; | ||
if (closes) { | ||
result += ',\n ' + closes; | ||
} | ||
result += ')\n'; | ||
} else { | ||
result += format('%s\n', commit.subject); | ||
} | ||
result += ')\n'; | ||
return result; | ||
} else { | ||
result += format('%s\n', commit.subject); | ||
try{ | ||
const data = {commit, closes, link: this.linkToCommit(commit.hash)}; | ||
const fn = _.template(template, data ); | ||
return fn(data); | ||
}catch(e){ | ||
this.log('error', 'Invalid commit template file', e); | ||
throw 'Invalid commit template file \n' + e; | ||
} | ||
} | ||
return result; | ||
} | ||
} | ||
module.exports = printCommit; |
@@ -9,3 +9,3 @@ 'use strict'; | ||
this.cmd = { | ||
gitTag: 'git tag | tail -n1', | ||
gitTag: 'git tag -l --sort=v:refname | tail -n1', | ||
gitRepoUrl: 'git config --get remote.origin.url', | ||
@@ -12,0 +12,0 @@ gitLog: null, |
@@ -7,5 +7,5 @@ <% if(logo) { %><img width="300px" src="<%= logo %>" /><%= '\n\n' %><% } %># <%= title %> | ||
## <%= section.title %> | ||
<% _.forEach(section.commits, function(commit){ %> - <%= printCommit(commit, true) %><% }) %> | ||
<% _.forEach(section.commits, function(commit){ %> - <%= printCommit(commit) %><% }) %> | ||
<% _.forEach(section.components, function(component){ %> - **<%= component.name %>** | ||
<% _.forEach(component.commits, function(commit){ %> - <%= printCommit(commit, true) %><% }) %> | ||
<% _.forEach(component.commits, function(commit){ %> - <%= printCommit(commit) %><% }) %> | ||
<% }) %> | ||
@@ -12,0 +12,0 @@ <% } %> |
@@ -55,3 +55,3 @@ 'use strict'; | ||
expect(changelog).to.have.nested.property('cmd.gitTag'); | ||
expect(changelog.cmd.gitTag).to.equal('git tag | tail -n1'); | ||
expect(changelog.cmd.gitTag).to.equal('git tag -l --sort=v:refname | tail -n1'); | ||
@@ -921,2 +921,49 @@ expect(changelog).to.have.nested.property('cmd.gitRepoUrl'); | ||
describe('.getGitRepoInfo()', () => { | ||
let gitRepoInfo = require('../tasks/lib/get-git-repo-info'); | ||
before(() => { | ||
changelog.setDefaults(); | ||
}); | ||
it('should return initial http url if Invalid git url provided', () => { | ||
let invalidRepo = 'http://github.com/rafinskipg/git-changelog'; | ||
return expect(Promise.resolve( | ||
gitRepoInfo(invalidRepo).repoUrl | ||
)) | ||
.to.eventually.become(invalidRepo); | ||
}); | ||
it('should return valid http url from Github git url', () => { | ||
let githubRepo = 'git@github.com:rafinskipg/git-changelog.git'; | ||
let githubResult = 'https://github.com/rafinskipg/git-changelog'; | ||
return expect(Promise.resolve( | ||
gitRepoInfo(githubRepo).repoUrl | ||
)) | ||
.to.eventually.become(githubResult); | ||
}); | ||
it('should return valid http url from Gitlab git url', () => { | ||
let gitlabRepo = 'https://gitlab.com/inkscape/inkscape.git'; | ||
let gitlabResult = 'https://gitlab.com/inkscape/inkscape'; | ||
return expect(Promise.resolve( | ||
gitRepoInfo(gitlabRepo).repoUrl | ||
)) | ||
.to.eventually.become(gitlabResult); | ||
}); | ||
it('should return valid http url from Bitbucket ssh url', () => { | ||
let bitbucketRepo = 'ssh://git@bitbucket.es.ad.adp.com:7999/upenv/configuration-values.git'; | ||
let bitbucketResult = 'https://bitbucket.es.ad.adp.com:7999/upenv/configuration-values'; | ||
return expect(Promise.resolve( | ||
gitRepoInfo(bitbucketRepo).repoUrl | ||
)) | ||
.to.eventually.become(bitbucketResult); | ||
}); | ||
}); | ||
describe('.getRepoUrl()', () => { | ||
@@ -1015,2 +1062,12 @@ let execStub; | ||
it('should create customTemplate.md', () => { | ||
const exists_file = existsSync('output/customTemplate.md'); | ||
expect(exists_file).to.equal(true); | ||
}); | ||
it('should create customCommitTemplate.md', () => { | ||
const exists_file = existsSync('output/customCommitTemplate.md'); | ||
expect(exists_file).to.equal(true); | ||
}); | ||
it('should create A EXTENDEDCHANGELOG.md', () => { | ||
@@ -1017,0 +1074,0 @@ const exists_file = existsSync('EXTENDEDCHANGELOG.md'); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
237184
54
2212
426