mistserver/version.sh

5 lines
153 B
Bash
Executable file

#!/bin/sh
if git describe --tags > version.tmp; then
echo "m4_define([VERSION_NUMBER], [`tr -d '\n' < version.tmp`])" > version.m4
fi
rm version.tmp