mirror of https://github.com/ekimekim/wubloader
Merge pull request #140 from ekimekim/mike/build-improvements
Refactor dockerfiles for more shared layerspull/144/head
commit
b2a07ef114
@ -0,0 +1,11 @@
|
||||
#!/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"
|
Loading…
Reference in New Issue