Fix pegjs-dev publisher
This commit is contained in:
parent
f897df619e
commit
c8afff5864
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
const publish = require( "./publish" );
|
const publish = require( "./publish" );
|
||||||
|
|
||||||
if ( process.env.GITHUB_EVENT_NAME === "push" ) {
|
if ( process.env.GITHUB_EVENT_NAME !== "push" ) {
|
||||||
|
|
||||||
console.log( "Skipping publish because dev release's are only published on `git push`." );
|
console.log( "Skipping publish because dev release's are only published on `git push`." );
|
||||||
process.exit( 0 );
|
process.exit( 0 );
|
||||||
|
|
Loading…
Reference in a new issue