Commit Graph

5 Commits

Author SHA1 Message Date
Fabien O'Carroll
c681b8e9be Refactored line parsing to use regex
Was having issues debugging the index issue, and regex cleans it up a little
2019-03-13 17:01:29 +01:00
Fabien O'Carroll
f8f96b49db Fixed check for emoji index
The emoji *must* be at index=2 as each line looks like:
    "* <commit message>"
We use index=2 to make test whether emoji is first character(s) in the
commit message
2019-03-13 17:01:29 +01:00
Fabien O'Carroll
5e9bf5cfb5 Added error handling to filestream
This would have probably rejected the promise anyway because uncaught
error, but it's better to be explicit
2019-03-13 17:01:29 +01:00
Fabien O'Carroll
d40a44b9a0 Fixed passing request completion handler
We were passing this as the second argument to pipe - ups!
2019-03-13 17:01:29 +01:00
Katharina Irrgang
3cb6042b10 Added initial implementation of @tryghost/release-utils (#7)
- Added the first version of release-utils
- Will release a v0.0.1

- Be able to create changelog.md based on previous version.
- Be able to merge & clean changelog.md.
- Be able to create a gist
- Be able to filter commits by emojis (user-facing changes)
- Be able to create a draft release
- Be able to upload a release zip to Github

The goal is to use our release-utils in multiple places (e.g. in Casper).

We will discuss if we want to replace some of our manual written utilities by existing npm packages. But to avoid breaking everything, we do it iteratively. Our release utils works and was designed based on our needs. We've tested some release utility in the past, they were all not really satisfying. TBC...
2019-03-12 21:53:32 +01:00