fix RPM version parsing

This commit is contained in:
K. Isom 2024-02-05 22:18:46 +00:00
parent aff3b3b83e
commit a82f57725f
2 changed files with 2 additions and 2 deletions

View File

@ -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 "")

View File

@ -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 "";
}