Skip to content

Commit cc0d66e

Browse files
committed
prepare next release
1 parent 9b758b7 commit cc0d66e

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ A DeviceInfo object contains general information about a device. It has the foll
502502

503503
## Changelog
504504

505-
#### NEXT:
505+
#### 0.10.0 (2018-03-15)
506506
* (AlCalzone) Swallow `"CoapClient was reset"` promise rejections and emit an `"error"` instead
507507
* (AlCalzone) Avoid sending `5712: null` in payloads when a group's transition time is `null` for some reason
508508

maintenance/release.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,16 @@ function fail(reason: string) {
3939
const gitStatus = execSync("git status", {cwd: rootDir, encoding: "utf8"});
4040
if (/have diverged/.test(gitStatus)) {
4141
if (!argv.dry) fail(colors.red("Cannot continue, the local branch has diverged from the git repo!"));
42-
else console.log(colors.yellow("This is a dry run. The full run would fail due to a diverged branch\n"));
42+
else console.log(colors.red("This is a dry run. The full run would fail due to a diverged branch\n"));
4343
} else if (!/working tree clean/.test(gitStatus)) {
4444
if (!argv.dry) fail(colors.red("Cannot continue, the local branch has uncommited changes!"));
45-
else console.log(colors.yellow("This is a dry run. The full run would fail due to uncommited changes\n"));
45+
else console.log(colors.red("This is a dry run. The full run would fail due to uncommited changes\n"));
4646
} else if (/Your branch is behind/.test(gitStatus)) {
4747
if (!argv.dry) fail(colors.red("Cannot continue, the local branch is behind the remote changes!"));
48-
else console.log(colors.yellow("This is a dry run. The full run would fail due to the local branch being behind\n"));
48+
else console.log(colors.red("This is a dry run. The full run would fail due to the local branch being behind\n"));
4949
} else if (/Your branch is up\-to\-date/.test(gitStatus) || /Your branch is ahead/.test(gitStatus)) {
5050
// all good
51+
console.log(colors.green("git status is good - I can continue..."));
5152
}
5253

5354
const releaseTypes = ["major", "premajor", "minor", "preminor", "patch", "prepatch", "prerelease"];

0 commit comments

Comments
 (0)