rusefi-1/firmware/update_version.sh

8 lines
260 B
Bash
Raw Normal View History

#!/bin/bash
2020-06-22 15:43:01 -07:00
# Let's regenerate 'svnversion.h'
# TODO: handle std err - for example, in case svn needs upgrade
2020-06-22 15:43:01 -07:00
GIT_HASH=$(git rev-parse HEAD)
echo "Git hash=$GIT_HASH"
java -jar ../java_tools/version2header.jar 10000 https://github.com/rusefi/rusefi $GIT_HASH