Add missing suffix for orig tarballs

This commit is contained in:
Simon Quigley 2024-12-19 22:15:14 -06:00
parent a6197af85a
commit 374986db61

View File

@ -644,7 +644,7 @@ static void pull_package(Package &pkg, const YAML::Node &releases) {
auto exclusions = get_exclusions(packaging_destination);
log_info("Creating tarball for package: " + pkg.name);
try {
create_tarball(pkg.name + "_MAIN.tar.gz", upstream_destination.string(), exclusions);
create_tarball(pkg.name + "_MAIN.orig.tar.gz", upstream_destination.string(), exclusions);
log_info("Tarball created for package: " + pkg.name);
} catch(const std::exception &e) {
log_error("Failed to create tarball for package " + pkg.name + ": " + e.what());