Replace removed files
parent
4bab22267f
commit
6d1a061150
|
@ -1,9 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
# chmod +x .git/hooks/pre-commit
|
# chmod +x .git/hooks/pre-commit
|
||||||
# chmod +x util/git_hook_pre_commit.sh
|
# chmod +x util/git_hook_pre_commit.bash
|
||||||
source util/increment_version.sh
|
source util/increment_version.bash
|
||||||
SEMANTIC_VERSION=`cat VERSION`
|
VERSION=`cat VERSION`
|
||||||
SEMANTIC_VERSION=`increment_version $SEMANTIC_VERSION`
|
VERSION=`increment_version $VERSION`
|
||||||
echo -n $SEMANTIC_VERSION > VERSION
|
echo -n $VERSION > VERSION
|
||||||
cat VERSION | convert -background none -density 196 -fill black -pointsize 21 -resample 72 -unsharp 0x.5 text:- -trim +repage -bordercolor white -border 3 util/minetest_wadsprint_version.png
|
cat VERSION | convert -background none -density 196 -fill black -pointsize 21 -resample 72 -unsharp 0x.5 text:- -trim +repage -bordercolor white -border 3 util/minetest_wadsprint_version.png
|
||||||
git add VERSION
|
git add VERSION
|
||||||
git add util/minetest_wadsprint_version.png
|
git add util/minetest_wadsprint_version.png
|
|
@ -1,3 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
# Accepts a version string and prints it incremented by one.
|
# Accepts a version string and prints it incremented by one.
|
||||||
# Usage: increment_version <version> [<position>] [<leftmost>]
|
# Usage: increment_version <version> [<position>] [<leftmost>]
|
||||||
increment_version() {
|
increment_version() {
|
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.5 KiB |
Loading…
Reference in New Issue