Skip to content

Commit

Permalink
Version bump for 0.19 and a dangerfile update
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed May 23, 2017
1 parent 7648899 commit 821c682
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

### Master

### 0.19.0

* Update to Jest 20 - macklinu
* Change the danger.d.ts to use module exports instead of globals - orta
* Render markdown inside `message()`, `warn()`, and `fail()` messages. - macklinu
Expand Down
4 changes: 3 additions & 1 deletion dangerfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ const sentence = danger.utils.sentence
// Request a CHANGELOG entry if not declared #trivial
const hasChangelog = includes(danger.git.modified_files, "changelog.md")
const isTrivial = includes((danger.github.pr.body + danger.github.pr.title), "#trivial")
if (!hasChangelog && !isTrivial) {
const isGreenkeeper = danger.github.pr.user.login === "greenkeeper"

if (!hasChangelog && !isTrivial && !isGreenkeeper) {
warn("Please add a changelog entry for your changes.")

// Politely ask for their name on the entry too
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "danger",
"version": "0.18.0",
"version": "0.19.0",
"description": "Unit tests for Team Culture",
"main": "distribution/danger.js",
"typings": "distribution/danger.d.ts",
Expand Down

0 comments on commit 821c682

Please sign in to comment.