We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd05cf9 commit 56ff98cCopy full SHA for 56ff98c
scripts/release.js
@@ -36,6 +36,11 @@ const yargs = require('nx/node_modules/yargs');
36
if (!process.env.GH_TOKEN && !process.env.GITHUB_TOKEN) {
37
throw new Error(`GH_TOKEN or GITHUB_TOKEN environment variable must be set in order to run a real release`);
38
}
39
+ if (options.gitRemote !== 'upstream') {
40
+ throw new Error(
41
+ `Expected --gitRemote to be set to "upstream" when running a real release. Add --gitRemote=upstream to the release command.`
42
+ );
43
+ }
44
45
46
// Prepare the packages for publishing
0 commit comments