UNPKG

version-changed

Version:

Checks if the version in `package.json` has changed since the last commit.

7 lines (5 loc) 110 B
#!/usr/bin/env node require('.')((err, changed) => { if (err) throw err process.exit(changed ? 0 : 1) })