put hash in version (#2607)

old-commit-hash: 6c49c6a9f1
vw-mqb-aeb
Willem Melching 5 years ago committed by GitHub
parent c9fbb134e0
commit 215918c7d4
  1. 2
      release/build_devel.sh

@ -44,7 +44,7 @@ git clean -xdf
git checkout -- selfdrive/common/version.h git checkout -- selfdrive/common/version.h
VERSION=$(cat selfdrive/common/version.h | awk -F\" '{print $2}') VERSION=$(cat selfdrive/common/version.h | awk -F\" '{print $2}')
echo "#define COMMA_VERSION \"$VERSION-release\"" > selfdrive/common/version.h echo "#define COMMA_VERSION \"$VERSION-$(git --git-dir=$SOURCE_DIR/.git rev-parse --short HEAD)-$(date '+%Y-%m-%dT%H:%M:%S')\"" > selfdrive/common/version.h
# do the files copy # do the files copy
echo "[-] copying files T=$SECONDS" echo "[-] copying files T=$SECONDS"

Loading…
Cancel
Save