mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Bug: https://bugs.gentoo.org/942035 Part-of: https://github.com/gentoo/gentoo/pull/41163 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
16 lines
430 B
Diff
16 lines
430 B
Diff
Avoid running `git`
|
|
|
|
--- a/OpenRGBVisualMapPlugin.pro
|
|
+++ b/OpenRGBVisualMapPlugin.pro
|
|
@@ -27,10 +27,7 @@ MAJOR = 0
|
|
MINOR = 9
|
|
SUFFIX = git
|
|
|
|
-SHORTHASH = $$system("git rev-parse --short=7 HEAD")
|
|
LASTTAG = "release_"$$MAJOR"."$$MINOR
|
|
-COMMAND = "git rev-list --count "$$LASTTAG"..HEAD"
|
|
-COMMITS = $$system($$COMMAND)
|
|
|
|
VERSION_NUM = $$MAJOR"."$$MINOR"."$$COMMITS
|
|
VERSION_STR = $$MAJOR"."$$MINOR
|