Skip to content

Commit

Permalink
Release v0.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBuchholz committed Mar 27, 2017
1 parent ee5f6c3 commit fa39e0f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Statements coverage|99.78%||90%|*8.4% ignored*
Branches coverage|99.32%||90%|*14.86% ignored*
Functions coverage|100%||90%|*8.23% ignored*
Maintainability|82.25||70|
Number of tests||396||*pending: 0, duration: 1500ms*
Number of tests||396||*pending: 0, duration: 1469ms*
Number of sources||48||
Lines of code|89|4277||

Expand Down
2 changes: 1 addition & 1 deletion build/report.history.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/report.history.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"date":"Thu, 19 Feb 2015 14:02:11 GMT","total":{"sloc":13499,"maintainability":2393.0333097905273},"average":{"sloc":374,"maintainability":"66.47"}},{"date":"Thu, 19 Feb 2015 18:07:05 GMT","total":{"sloc":13446,"maintainability":2311.37305619915},"average":{"sloc":384,"maintainability":"66.04"}},{"date":"Sat, 03 Dec 2016 16:45:15 GMT","total":{"sloc":2453,"maintainability":2324.33},"average":{"sloc":84,"maintainability":"80.15"}},{"date":"Sun, 05 Feb 2017 17:36:57 GMT","total":{"sloc":3463,"maintainability":3322.0919999999996},"average":{"sloc":84,"maintainability":"81.03"}},{"date":"Thu, 02 Mar 2017 17:19:26 GMT","total":{"sloc":3782,"maintainability":3372.4250000000015},"average":{"sloc":92,"maintainability":"82.25"}},{"date":"Thu, 02 Mar 2017 17:35:32 GMT","total":{"sloc":3782,"maintainability":3372.4250000000015},"average":{"sloc":92,"maintainability":"82.25"}},{"date":"Mon, 27 Mar 2017 03:32:26 GMT","total":{"sloc":4277,"maintainability":3948.1540000000014},"average":{"sloc":89,"maintainability":"82.25"}}]
[{"date":"Thu, 19 Feb 2015 14:02:11 GMT","total":{"sloc":13499,"maintainability":2393.0333097905273},"average":{"sloc":374,"maintainability":"66.47"}},{"date":"Thu, 19 Feb 2015 18:07:05 GMT","total":{"sloc":13446,"maintainability":2311.37305619915},"average":{"sloc":384,"maintainability":"66.04"}},{"date":"Sat, 03 Dec 2016 16:45:15 GMT","total":{"sloc":2453,"maintainability":2324.33},"average":{"sloc":84,"maintainability":"80.15"}},{"date":"Sun, 05 Feb 2017 17:36:57 GMT","total":{"sloc":3463,"maintainability":3322.0919999999996},"average":{"sloc":84,"maintainability":"81.03"}},{"date":"Thu, 02 Mar 2017 17:19:26 GMT","total":{"sloc":3782,"maintainability":3372.4250000000015},"average":{"sloc":92,"maintainability":"82.25"}},{"date":"Thu, 02 Mar 2017 17:35:32 GMT","total":{"sloc":3782,"maintainability":3372.4250000000015},"average":{"sloc":92,"maintainability":"82.25"}},{"date":"Mon, 27 Mar 2017 03:32:26 GMT","total":{"sloc":4277,"maintainability":3948.1540000000014},"average":{"sloc":89,"maintainability":"82.25"}},{"date":"Mon, 27 Mar 2017 03:36:11 GMT","total":{"sloc":4277,"maintainability":3948.1540000000014},"average":{"sloc":89,"maintainability":"82.25"}}]
5 changes: 2 additions & 3 deletions make/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ inquirer.prompt([{
})
.then(reqMilestones => {
versionMilestone = reqMilestones.data.filter(candidate => candidate.title.includes(version))[0];
console.log(versionMilestone);
if (!versionMilestone) {
throw new Error("No corresponding milestone found");
}
Expand All @@ -132,12 +131,12 @@ inquirer.prompt([{
);
fs.writeFileSync("README.md", readmeLines.join("\n"));
}
// return spawnGrunt("make");
return spawnGrunt("make");
})
.then(() => spawnGrunt("copy:releasePlatoHistory"))
.then(() => spawnGit(["commit", "-a", "-m", `Release v${version}`]))
.then(() => spawnGit(["push"]))
.then(() => gh.getIssues("ArnaudBuchholz", "gpf-js").editMilestone(versionMilestone.id, {
.then(() => gh.getIssues("ArnaudBuchholz", "gpf-js").editMilestone(versionMilestone.number, {
state: "closed"
}))
.then(() => gh.getRepo("ArnaudBuchholz", "gpf-js").createRelease({
Expand Down

0 comments on commit fa39e0f

Please sign in to comment.