theatre/devEnv/ensurePublishing.js
2021-10-04 14:25:11 +02:00

5 lines
163 B
JavaScript

if (process.env.THEATRE_IS_PUBLISHING !== 'true') {
throw Error(
`This script may run only when the "release" command in monorepo's root is running.`,
)
}