switched the inline command to fetch the commit version to the small version and moved it to a variable just avobe the tar command.
this improves readability i think. the real change is in the %H to %h.
This commit is contained in:
parent
528a04825d
commit
23b1620a53
@ -7,4 +7,6 @@ echo 'will cite' | parallel --bibtex
|
||||
broadwayd :5 &
|
||||
GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 bash tasks/build.sh -r -v -e -k -o
|
||||
|
||||
tar -cvzf ~/output/aleta-`git log --pretty=format:%H -1`.tar.gz _build/aleta
|
||||
COMMITVER="`git log --pretty=format:%h -1`"
|
||||
|
||||
tar -cvzf ~/output/aleta-"$COMMITVER".tar.gz _build/aleta
|
||||
|
Loading…
Reference in New Issue
Block a user