Skip to content

Commit

Permalink
Update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
thorn0 committed Mar 21, 2020
1 parent 20c7a5a commit c760fc2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/release/README.md
Expand Up @@ -6,7 +6,7 @@
node ./scripts/release/release.js --version NEW_VERSION
```

The script its own `package.json` so we can reinstall the root's `node_modules/` while making the release.
The script has its own `package.json` so we can reinstall the root's `node_modules/` while making the release.

## Credits

Expand Down
4 changes: 2 additions & 2 deletions scripts/release/steps/bump-prettier.js
Expand Up @@ -5,8 +5,8 @@ const semver = require("semver");
const { logPromise, readJson, writeJson } = require("../utils");

async function format() {
await execa("yarn", ["lint", "--fix"]);
await execa("yarn", ["lint-docs", "--fix"]);
await execa("yarn", ["lint:eslint", "--fix"]);
await execa("yarn", ["lint:prettier", "--write"]);
}

async function commit(version) {
Expand Down
4 changes: 2 additions & 2 deletions scripts/release/steps/run-tests.js
Expand Up @@ -3,7 +3,7 @@
const { runYarn, logPromise } = require("../utils");

module.exports = async function() {
await logPromise("Running linter", runYarn("lint"));
await logPromise("Running linter on docs", runYarn("lint-docs"));
await logPromise("Running linter", runYarn("lint:eslint"));
await logPromise("Running linter on docs", runYarn("lint:prettier"));
await logPromise("Running tests", runYarn("test"));
};

0 comments on commit c760fc2

Please sign in to comment.