2020-07-09 07:27:20 -07:00
|
|
|
#!/bin/bash
|
2020-06-22 15:43:01 -07:00
|
|
|
# Let's regenerate 'svnversion.h'
|
2020-06-19 10:32:57 -07:00
|
|
|
# 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)
|
2020-06-19 10:32:57 -07:00
|
|
|
echo "Git hash=$GIT_HASH"
|
|
|
|
java -jar ../java_tools/version2header.jar 10000 https://github.com/rusefi/rusefi $GIT_HASH
|