You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

get-version.sh 273B

1234567891011
  1. #!/usr/bin/env bash
  2. if [[ -z "$LIB_JITSI_MEET_REPO" ]];
  3. then
  4. LIB_JITSI_MEET_REPO="."
  5. fi
  6. COMMIT_HASH=$(cd $LIB_JITSI_MEET_REPO && git rev-parse --short HEAD)
  7. COMMIT_TAG=$(cd $LIB_JITSI_MEET_REPO && git describe --abbrev=0 --tags)
  8. echo "${COMMIT_TAG}#${COMMIT_HASH}";