mirror of https://github.com/ekimekim/wubloader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
210 B
Plaintext
12 lines
210 B
Plaintext
5 years ago
|
#!/bin/bash
|
||
|
|
||
|
# cd to location of script
|
||
|
cd "$(dirname "$(readlink -f "$0")")"
|
||
|
|
||
|
TAG=$(git rev-parse --short HEAD)
|
||
|
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
|
||
|
TAG="$TAG-wip"
|
||
|
fi
|
||
|
|
||
|
echo "$TAG"
|