Re: [Dev] [patch master] sed version number to current commit if no tag discripe exist

28 Aug
2016
28 Aug
'16
11:29 p.m.
FYI On 08/28/16 23:27, Jan-Tarek Butt wrote:
--- buildscript | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/buildscript b/buildscript index 53985c4..5a23037 100755 --- a/buildscript +++ b/buildscript @@ -192,6 +192,9 @@ prebuild() {
#insert actual firware version informations into release file version=$(git describe --tags --dirty) + if [ $? -ne 0 ]; then + version=$(git log | grep -m 1 commit | tail -c41 | head -c7) + fi community=$(basename "$(realpath selected_community)" .cfg)
{ -- 2.9.3
3289
Age (days ago)
3289
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jan-Tarek Butt