Small improvements to the releasing mechanism
- Append the git information (date and commit) if + envvar LADI_RELEASE is not set and + ./gitcommit.sh exists - Fix the indentation.pull/1/merge
parent
b0826c26f9
commit
aea03a75cf
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
COMMIT=`git log --color=never -1 --oneline | cut -d" " -f1`
|
||||
DATE=`git log --color=never -1 --date=iso | sed -ne "s/Date:\s\+\(.*\).*/\1/p" | cut -d" " -f1 | tr -d "-"`
|
||||
|
||||
echo "$DATE".git"$COMMIT"
|
Loading…
Reference in New Issue