mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-14 02:52:12 +01:00
bed30cb483
- it will be only shown when compiling with git_revision file in root directory (where QupZilla.pro is). This file should contain commit hash.
10 lines
160 B
Bash
10 lines
160 B
Bash
#!/bin/bash
|
|
#git show-ref refs/heads/master | cut -d " " -f 1 | cut -c 1-10
|
|
|
|
cd ..
|
|
if [ -e "git_revision" ]; then
|
|
cat git_revision | cut -c 1-10;
|
|
fi
|
|
|
|
exit;
|