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:
@ -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": [
|
||||
|
@ -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": [
|
||||
|
Reference in New Issue
Block a user