use stamp.go for timestamp in filename
This commit is contained in:
parent
f96d33cf0d
commit
0291eb2e1d
2
gitdist
2
gitdist
|
@ -25,7 +25,7 @@ if [ "$leave" = true ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
timestamp=`date -u +"%Y%m%d-%H%M"`
|
timestamp=`stamp --utc --filename`
|
||||||
currentBranch=`git rev-parse --abbrev-ref HEAD`
|
currentBranch=`git rev-parse --abbrev-ref HEAD`
|
||||||
|
|
||||||
if [ "$currentBranch" = "master" ]; then
|
if [ "$currentBranch" = "master" ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user