mirror of
https://github.com/0Nera/BMOSP.git
synced 2024-12-23 06:16:53 +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 |