From fb9bcedf62ee45d1c265f618177df50441526e13 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Mon, 26 Feb 2024 13:55:03 +0100
Subject: [PATCH] feat(splio-vectorrs): Upgrade to version v0.2.0

---
 images/splio-vectorrs/.release  | 2 +-
 images/splio-vectorrs/Earthfile | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/images/splio-vectorrs/.release b/images/splio-vectorrs/.release
index 7d462e42a..08084eb05 100644
--- a/images/splio-vectorrs/.release
+++ b/images/splio-vectorrs/.release
@@ -1 +1 @@
-release=15-3.0-p1
+release=15-3.0-p1-r2
diff --git a/images/splio-vectorrs/Earthfile b/images/splio-vectorrs/Earthfile
index 961020e0f..d563883b5 100644
--- a/images/splio-vectorrs/Earthfile
+++ b/images/splio-vectorrs/Earthfile
@@ -6,8 +6,10 @@ container:
     COPY .release ./
     ARG tag=$(awk -F'=' '$1 == "release" {print $2}' .release)
     ARG latest=false
-    RUN curl -L https://github.com/tensorchord/pgvecto.rs/releases/download/v0.1.11/vectors-pg15-v0.1.11-x86_64-unknown-linux-gnu.deb > vectors-pg15-v0.1.11-x86_64-unknown-linux-gnu.deb
-    RUN apt install ./vectors-pg15-*.deb
+    ARG VECTORS_DEB="./vectors-pg15_amd64.deb"
+    RUN curl -L https://github.com/tensorchord/pgvecto.rs/releases/download/v0.2.0/vectors-pg15_0.2.0_amd64.deb > "$VECTORS_DEB"
+    RUN apt install "$VECTORS_DEB"
+    RUN rm "$VECTORS_DEB"
     DO ../.utils/+LABEL --image=postfix --version=main
     IF [ $latest = "true" ]
         SAVE IMAGE --push ${registry}:latest
-- 
GitLab