mirror of
https://github.com/0Nera/BMOSP.git
synced 2024-11-26 10:29:51 +03:00
10 lines
148 B
Bash
Executable File
10 lines
148 B
Bash
Executable File
#!/bin/bash
|
|
|
|
VERSION=`git rev-parse --short HEAD`
|
|
|
|
X=$(git status -s | grep -q '^.M')
|
|
if [ $? -eq 0 ]; then
|
|
VERSION="$VERSION"
|
|
fi
|
|
|
|
echo -n $VERSION |