mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-05-10 11:05:06 +02:00
fix: qbs: use correct version string
This commit is contained in:
@@ -17,7 +17,7 @@ FWBProduct {
|
|||||||
"README.*"
|
"README.*"
|
||||||
]
|
]
|
||||||
qbs.install: qbs.targetOS.contains("linux") || qbs.targetOS.contains("windows")
|
qbs.install: qbs.targetOS.contains("linux") || qbs.targetOS.contains("windows")
|
||||||
qbs.installDir: qbs.targetOS.contains("unix") ? "share/doc/fwbuilder-"+versionStr : "doc"
|
qbs.installDir: qbs.targetOS.contains("unix") ? "share/doc/fwbuilder-"+project.version : "doc"
|
||||||
}
|
}
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Project {
|
|||||||
|
|
||||||
Git { id: git }
|
Git { id: git }
|
||||||
|
|
||||||
property string version: git.version || "5.99.1"
|
property string version: git.version || "6.0.0-beta"
|
||||||
property string xmlVersion: "24"
|
property string xmlVersion: "24"
|
||||||
property string installPrefix: (qbs.installPrefix ? qbs.installPrefix : '/usr')
|
property string installPrefix: (qbs.installPrefix ? qbs.installPrefix : '/usr')
|
||||||
property string resourcesDir: {
|
property string resourcesDir: {
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ FWBProduct {
|
|||||||
else if (qbs.targetOS.contains("windows"))
|
else if (qbs.targetOS.contains("windows"))
|
||||||
return "resources";
|
return "resources";
|
||||||
else
|
else
|
||||||
return "share/fwbuilder-"+versionStr;
|
return "share/fwbuilder-"+project.version;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ FWBProduct {
|
|||||||
else if (qbs.targetOS.contains("windows"))
|
else if (qbs.targetOS.contains("windows"))
|
||||||
return "resources"
|
return "resources"
|
||||||
else
|
else
|
||||||
return "share/fwbuilder-"+versionStr
|
return "share/fwbuilder-"+project.version
|
||||||
}
|
}
|
||||||
qbs.installSourceBase: ".."
|
qbs.installSourceBase: ".."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ FWBProduct {
|
|||||||
else if (qbs.targetOS.contains("windows"))
|
else if (qbs.targetOS.contains("windows"))
|
||||||
return "resources"
|
return "resources"
|
||||||
else
|
else
|
||||||
return "share/fwbuilder-"+versionStr
|
return "share/fwbuilder-"+project.version
|
||||||
}
|
}
|
||||||
|
|
||||||
Group {
|
Group {
|
||||||
|
|||||||
Reference in New Issue
Block a user