#!/bin/bash
# cd to location of script
cd "$(dirname "$(realpath "$0")")"
TAG=$(git rev-parse --short HEAD)
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
TAG="$TAG-wip"
fi
echo "$TAG"