Skip to content

Instantly share code, notes, and snippets.

@kahboom
Forked from zregvart/rest-version
Created December 13, 2017 15:26
Show Gist options
  • Save kahboom/2f1fc8e2b621d08d904135408f5cd5ce to your computer and use it in GitHub Desktop.
Save kahboom/2f1fc8e2b621d08d904135408f5cd5ce to your computer and use it in GitHub Desktop.
echo $(oc exec $(pod=$(oc get pod -o=name -l component=syndesis-rest); echo ${pod#pods/}) -- unzip -c runtime.jar META-INF/MANIFEST.MF|grep '^Git-Commit-Id:')
git rev-parse HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment