pkg-vsn.sh 247 B

123456789101112
  1. #!/bin/bash
  2. # This script prints the release version for emqx
  3. # ensure dir
  4. cd -P -- "$(dirname -- "$0")"
  5. # comment SUFFIX out when finalising RELEASE
  6. RELEASE="4.3.0"
  7. SUFFIX="-pre-$(git rev-parse HEAD | cut -b1-8)"
  8. echo "${RELEASE}${SUFFIX:-}"