Commit Graph

37 Commits

Author SHA1 Message Date
Renovate Bot
eaba1def62 Update dependency mocha to v7.1.1 2020-03-18 10:16:25 +00:00
Renovate Bot
2924a12c4d Update Test & linting packages 2020-03-10 17:10:43 +00:00
Daniel Lockyer
698261e294 Fixed lint issues
no issue
2020-03-10 17:07:36 +00:00
Daniel Lockyer
f80b5289b6 Added lock emoji to order list
no issue
2020-03-09 20:03:18 +00:00
Daniel Lockyer
8c2d85825e Published new versions
- @tryghost/release-utils@0.4.1
2020-02-11 10:03:31 +00:00
Daniel Lockyer
f88cebc12c Fixed wrong usage of helper function
no issue
2020-02-11 10:01:39 +00:00
Daniel Lockyer
5fef535658 Published new versions
- @tryghost/pretty-cli@1.2.3
 - @tryghost/release-utils@0.4.0
 - @tryghost/vhost-middleware@1.0.1
2020-02-10 13:58:45 +00:00
Daniel Lockyer
620047169b Set a message if there are no emoji-prepended commits
no issue
2020-02-10 13:55:00 +00:00
Daniel Lockyer
45bd9ec37f Sorted the release changelog by emoji
no issue
2020-02-10 13:54:51 +00:00
John O'Nolan
3bd4d736d8 2020 2020-01-07 19:06:08 +00:00
Renovate Bot
9b01975a7f Update Test & linting packages 2019-10-28 03:31:27 +00:00
Kevin Ansfield
495de734ab Published new versions
- @tryghost/pretty-cli@1.2.2
 - @tryghost/release-utils@0.3.3
 - @tryghost/vhost-middleware@1.0.0
2019-10-24 15:11:50 +01:00
Renovate Bot
2045157cb6 Update Test & linting packages 2019-04-22 01:28:43 +00:00
Renovate Bot
58f3f93822 Update dependency mocha to v6.1.3 2019-04-15 01:28:32 +00:00
Renovate Bot
7c19484dd2 Update dependency mocha to v6.1.1 2019-04-08 01:29:25 +00:00
Nazar Gargol
8a36066e81 Published new versions
- @tryghost/pretty-cli@1.2.1
 - @tryghost/release-utils@0.3.2
2019-04-05 15:52:24 +08:00
Renovate Bot
8871293364 Update dependency sinon to v7.3.1 2019-03-27 12:08:01 +00:00
Rish
074c15acc3 Published new versions
- @tryghost/release-utils@0.3.1
2019-03-18 00:59:53 +05:30
Rish
ec94fb9529 🐛 Fixed changelog getting set as empty
no issue

- Changelog was set as empty due to concat creating new arrays
2019-03-18 00:43:40 +05:30
Rish
51693d0b5e Published new versions
- @tryghost/release-utils@0.3.0
2019-03-17 17:53:49 +05:30
Rish
86132d0681 releases.create accepts changelogPath as single path or array
- changelogPath can be a single path as before, or an array of paths with optional content which will be pre-pended
- Removed non-generic casper option from releases.create options
2019-03-17 17:53:17 +05:30
Rish
fc28d5e13f Published new versions
- @tryghost/release-utils@0.2.1
2019-03-17 13:27:05 +05:30
Rish
d0bde8c9bc Added casper changelog option to release draft
no issue

- Added option to allow appending casper changelog to main release draft
- Uses capser changelog path and new version info to append casper changes
2019-03-17 13:16:07 +05:30
kirrg001
dba3b43708 Published new versions
- @tryghost/release-utils@0.2.0
2019-03-14 17:13:24 +01:00
kirrg001
5247eb95f5 releases.create accepts optional content array
no issue

e.g. content: ['line\n']
2019-03-14 17:12:08 +01:00
kirrg001
0b49f17250 Published new versions
- @tryghost/release-utils@0.1.1
2019-03-14 16:52:23 +01:00
kirrg001
d7c930d278 🐛 Fixed changelog entry with emoji not being detected
no issue
2019-03-14 16:51:47 +01:00
kirrg001
89c555e29f Published new versions
- @tryghost/release-utils@0.1.0
2019-03-14 16:39:58 +01:00
kirrg001
696b87b103 Added more emoji tests
no issue
2019-03-14 16:35:48 +01:00
Fabien O'Carroll
23fd4702a0 Fixed emoji tests to use correct input data 2019-03-13 17:01:29 +01:00
Fabien O'Carroll
df57b8c944 Refactored emoji filtering to only loop once
Small perf improvment, also easier to read now because we can use 0
index which is more obvious as to what we're doing
2019-03-13 17:01:29 +01:00
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
kirrg001
791a1b54b5 [@tryghost/release-utils] Removed unused dependencies
no issue

- ...unused? 👻
2019-03-12 21:55:00 +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