Stop build from appending "dirty" to version string

This commit is contained in:
Colin Kinloch 2020-04-21 16:26:58 +01:00
parent 662a0e3e19
commit 96ac00b41a
2 changed files with 17 additions and 0 deletions

13
nodirtyversion.patch Normal file
View file

@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9af66009a1..2acd3bed9a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -149,7 +149,7 @@ if(GIT_FOUND)
OUTPUT_VARIABLE DOLPHIN_WC_REVISION
OUTPUT_STRIP_TRAILING_WHITESPACE)
# defines DOLPHIN_WC_DESCRIBE
- execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --always --long --dirty
+ execute_process(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMAND ${GIT_EXECUTABLE} describe --always --long
OUTPUT_VARIABLE DOLPHIN_WC_DESCRIBE
OUTPUT_STRIP_TRAILING_WHITESPACE)

View file

@ -75,6 +75,10 @@
"type": "patch", "type": "patch",
"path": "forcexdg.patch" "path": "forcexdg.patch"
}, },
{
"type": "patch",
"path": "nodirtyversion.patch"
},
{ {
"type": "file", "type": "file",
"path": "appdata.xml" "path": "appdata.xml"