* Update release dependencies * Remove `version` field * Run install before any require * Update scripts/release/utils.js Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com> * Fix update schedule * Update deps * Fix Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
15 lines
330 B
JavaScript
15 lines
330 B
JavaScript
"use strict";
|
|
|
|
const { runGit } = require("../utils");
|
|
|
|
module.exports = async function () {
|
|
const { stdout: status } = await runGit(["status", "--porcelain"]);
|
|
|
|
if (status) {
|
|
throw new Error(
|
|
"Uncommitted local changes. " +
|
|
"Please revert or commit all local changes before making a release."
|
|
);
|
|
}
|
|
};
|