2016-04-30 02:46:46 -07:00
|
|
|
#!/bin/bash
|
2016-04-30 00:36:59 -07:00
|
|
|
# chmod +x .git/hooks/pre-commit
|
2016-04-30 02:46:46 -07:00
|
|
|
# chmod +x util/git_hook_pre_commit.bash
|
|
|
|
source util/increment_version.bash
|
|
|
|
VERSION=`cat VERSION`
|
|
|
|
VERSION=`increment_version $VERSION`
|
|
|
|
echo -n $VERSION > VERSION
|
2016-07-22 10:21:23 -07:00
|
|
|
convert -background none -density 196 -fill black -pointsize 21 -resample 72 -unsharp 0x.5 label:"$(cat VERSION)" -trim +repage -bordercolor white -border 3 util/minetest_wadsprint_version.png
|
2016-04-30 02:29:35 -07:00
|
|
|
git add VERSION
|
2016-04-30 00:26:01 -07:00
|
|
|
git add util/minetest_wadsprint_version.png
|