macos: get tag for version

This commit is contained in:
Stéphane Cerveau 2023-09-16 10:19:47 +02:00
parent 4a5964c340
commit 38928e07b8

View file

@ -16,7 +16,7 @@ test_ok() {
BUILD_DIR=builddir BUILD_DIR=builddir
PROJECTDIR="$( cd "$(dirname "$0")/../" ; pwd -P )" PROJECTDIR="$( cd "$(dirname "$0")/../" ; pwd -P )"
TARGETDIR="${PROJECTDIR}/${BUILD_DIR}/INSTALL_GPS" TARGETDIR="${PROJECTDIR}/${BUILD_DIR}/INSTALL_GPS"
VERSION="$(date +%y%m%d)" VERSION="$(git describe --always --abbrev=0)"
export VERSION export VERSION
echo "VERSION=$VERSION" echo "VERSION=$VERSION"