Skip to content

Instantly share code, notes, and snippets.

@rashad612
Last active August 29, 2015 14:08
Show Gist options
  • Save rashad612/76fbd09ad8ef9b54fbc5 to your computer and use it in GitHub Desktop.
Save rashad612/76fbd09ad8ef9b54fbc5 to your computer and use it in GitHub Desktop.
Get version from package.json
$ cat package.json | grep version | awk '{print $2}' | sed s/\"//g | sed s/,//g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment