Skip to content

Instantly share code, notes, and snippets.

@gary-liguoliang
Created November 20, 2019 08:18
Show Gist options
  • Save gary-liguoliang/0cc18fb571068b2b86255d70a29afe07 to your computer and use it in GitHub Desktop.
Save gary-liguoliang/0cc18fb571068b2b86255d70a29afe07 to your computer and use it in GitHub Desktop.
version=$(cd ${DIR}/../functions && grep -m1 version package.json | awk -F: '{ print $2 }' | sed 's/[", ]//g')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment