From 521b83e64b7da99fdd464c4c5bd6e1fb12292f7a Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Sun, 1 Dec 2024 21:48:35 -0700 Subject: [PATCH] Fix sorting of patch portion of version numbers --- generate-assets/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-assets/src/lib.rs b/generate-assets/src/lib.rs index effb9fd1a9..f19ef5270e 100644 --- a/generate-assets/src/lib.rs +++ b/generate-assets/src/lib.rs @@ -728,7 +728,7 @@ pub fn get_metadata_from_cratesio_statement( FROM ( \ SELECT version_id, license, major, \ CAST(SUBSTR(minor_and_patch,0,second_point) AS INTEGER) minor, \ - SUBSTR(minor_and_patch,second_point+1) patch \ + CAST(SUBSTR(minor_and_patch,second_point+1) AS INTEGER) patch \ FROM ( \ SELECT version_id, license, major, minor_and_patch, \ INSTR(minor_and_patch, '.') second_point \