1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
From: Ahmad Khalifa <ahmad@khalifa.ws>
Date: Sat, 28 Dec 2024 13:42:18 +0000
Forwarded: not-needed
Subject: Replace Project Basic Info
No git during build, replace that info with debian details instead
---
OpenRGB.pro | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- a/OpenRGB.pro
+++ b/OpenRGB.pro
@@ -73,11 +73,11 @@
linux:BUILDDATE = $$system(date -R -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}")
freebsd:BUILDDATE = $$system(date -j -R -r "${SOURCE_DATE_EPOCH:-$(date +%s)}")
macx:BUILDDATE = $$system(date -j -R -r "${SOURCE_DATE_EPOCH:-$(date +%s)}")
-GIT_COMMIT_ID = $$system(git log -n 1 --pretty=format:"%H")
-GIT_COMMIT_DATE = $$system(git log -n 1 --pretty=format:"%ci")
+GIT_COMMIT_ID = $$(DEB_UPSTREAM_COMMIT)
+GIT_COMMIT_DATE = $$(DEB_UPSTREAM_DATE)
unix {
- GIT_BRANCH = $$system(sh scripts/git-get-branch.sh)
+ GIT_BRANCH = "debian"
}
else {
GIT_BRANCH = $$system(powershell -ExecutionPolicy Bypass -File scripts/git-get-branch.ps1)
|