Skip to content

Instantly share code, notes, and snippets.

@lewisrodgers
Created December 19, 2017 00:32
Show Gist options
  • Save lewisrodgers/817d0d7ca59f31db998515dd500587ea to your computer and use it in GitHub Desktop.
Save lewisrodgers/817d0d7ca59f31db998515dd500587ea to your computer and use it in GitHub Desktop.
# Possible versioning stratgy.
# Only integers are allowed with the `version` property of the manifest.json.
script:
- GIT_HASH=$(git rev-parse --short HEAD)
- jq ".version_name = \"build-$GIT_HASH\"" manifest.json | spong manifest.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment