Skip to content

Instantly share code, notes, and snippets.

@vsavkin
Created December 17, 2019 02:06
Show Gist options
  • Save vsavkin/876810558ae0e78a7ddacc99b9686bf8 to your computer and use it in GitHub Desktop.
Save vsavkin/876810558ae0e78a7ddacc99b9686bf8 to your computer and use it in GitHub Desktop.
const isMaster = process.argv[2] === 'False';
const baseSha = isMaster ? 'origin/master~1' : 'origin/master';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment