fix RPM version parsing
This commit is contained in:
parent
aff3b3b83e
commit
a82f57725f
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.25)
|
||||
project(sc3dev
|
||||
VERSION 1.1.2
|
||||
VERSION 1.1.3
|
||||
LANGUAGES CXX
|
||||
HOMEPAGE_URL "https://git.wntrmute.dev/sc/sc3dev"
|
||||
DESCRIPTION "")
|
||||
|
|
|
@ -55,7 +55,7 @@ endpointForPackage(std::string package)
|
|||
const std::filesystem::path pkgAsPath(package);
|
||||
|
||||
auto stem = pkgAsPath.stem();
|
||||
auto parts = scsl::scstring::SplitN(stem, "_", 3);
|
||||
auto parts = scsl::scstring::SplitN(stem, "-", 3);
|
||||
if (parts.size() != 3) {
|
||||
return "";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue