mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 17:11:40 -05:00
8 lines
206 B
Bash
8 lines
206 B
Bash
![]() |
#!/bin/bash
|
||
|
|
||
|
# this file writes src/version.h from the git commit
|
||
|
echo "
|
||
|
#ifndef GIT_VERSION
|
||
|
#define GIT_VERSION \"`date +\"%d-%m-%Y\"` `git log --pretty=format:"%h" | head -n1`\"
|
||
|
#endif" > src/version.hxx
|