mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-01 13:25:46 -04:00
titlepic: version from git describe
if available
Use `git describe` to automatically generate the version on titlepic, use VERSION file if not a git repository (tarball releases).
This commit is contained in:
parent
3671e25770
commit
95ccde2b71
2 changed files with 2 additions and 1 deletions
1
VERSION
Normal file
1
VERSION
Normal file
|
@ -0,0 +1 @@
|
|||
v0.6.2
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
DATE=`date +%Y/%m/%d`
|
||||
VERSION=`cat ../../VERSION`
|
||||
VERSION=`git describe` || VERSION=`cat ../../VERSION`
|
||||
|
||||
convert -fill white -font Helvetica-Bold \
|
||||
-pointsize 30 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue