From fd0ab80e1f3236a6a0d0ae3fae26e19b4c22f4b8 Mon Sep 17 00:00:00 2001 From: Bela Stoyan Date: Tue, 13 Feb 2024 13:07:49 +0100 Subject: [PATCH] fix: use `VersionWithSource::fmt` instead of `Version::fmt` to determine package version (#626) --- src/upload/package.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upload/package.rs b/src/upload/package.rs index d49a2efe4..2e7ba4c94 100644 --- a/src/upload/package.rs +++ b/src/upload/package.rs @@ -4,7 +4,7 @@ use base64::{engine::general_purpose, Engine}; use miette::IntoDiagnostic; use rattler_conda_types::{ package::{AboutJson, IndexJson, PackageFile}, - PackageName, Version as PackageVersion, + PackageName, VersionWithSource as PackageVersion, }; use rattler_digest::{compute_file_digest, Md5}; use sha2::Sha256;