Show also git commit ID of Evolution in VERSION_SUBSTRING of flatpak build

To easier identify which version of evolution had been used to build it.
This commit is contained in:
Milan Crha
2017-09-11 15:23:39 +02:00
parent 89b3b83026
commit 3a0e5123f1
2 changed files with 16 additions and 2 deletions

View File

@ -270,7 +270,6 @@
"name": "evolution",
"buildsystem": "cmake",
"config-opts": [
"-DVERSION_SUBSTRING:STRING=' (flatpak)'",
"-DENABLE_AUTOAR=OFF",
"-DENABLE_CONTACT_MAPS=OFF",
"-DENABLE_GNOME_DESKTOP=OFF",
@ -294,6 +293,14 @@
"branch": "master"
},
{
"type": "shell",
"commands": [
"cp config.h.in config.h.in.orig",
"cat config.h.in.orig | sed -e \"s|\\@VERSION_SUBSTRING\\@| \\(flatpak git$(git log --pretty=format:%h HEAD^..HEAD)\\)|\" >config.h.in"
]
},
{
"type": "script",
"commands": [

View File

@ -270,7 +270,6 @@
"name": "evolution",
"buildsystem": "cmake",
"config-opts": [
"-DVERSION_SUBSTRING:STRING=' (flatpak)'",
"-DENABLE_AUTOAR=OFF",
"-DENABLE_CONTACT_MAPS=OFF",
"-DENABLE_GNOME_DESKTOP=OFF",
@ -294,6 +293,14 @@
"branch": "gnome-3-26"
},
{
"type": "shell",
"commands": [
"cp config.h.in config.h.in.orig",
"cat config.h.in.orig | sed -e \"s|\\@VERSION_SUBSTRING\\@| \\(flatpak git$(git log --pretty=format:%h HEAD^..HEAD)\\)|\" >config.h.in"
]
},
{
"type": "script",
"commands": [