From 2546b1ad28f2b13eb0b0791e18df409b5494ffd4 Mon Sep 17 00:00:00 2001 From: madomado Date: Thu, 11 Jul 2024 00:27:01 +0800 Subject: [PATCH] bump: crystal (#1489) * bump: crystal Signed-off-by: madomado * bump crystal to 1.13.0 Signed-off-by: madomado --------- Signed-off-by: madomado (cherry picked from commit 3115afa5496cf3ac7a3d229b3622d8f3e2747f08) --- anda/langs/crystal/crystal/crystal.spec | 2 +- anda/langs/crystal/crystal/update.rhai | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/anda/langs/crystal/crystal/crystal.spec b/anda/langs/crystal/crystal/crystal.spec index 9ebcf8a289..6093995c0c 100644 --- a/anda/langs/crystal/crystal/crystal.spec +++ b/anda/langs/crystal/crystal/crystal.spec @@ -1,7 +1,7 @@ %define debug_package %nil Name: crystal -Version: 1.12.2 +Version: 1.13.0 Release: 1%?dist Summary: The Crystal Programming Language License: Apache-2.0 diff --git a/anda/langs/crystal/crystal/update.rhai b/anda/langs/crystal/crystal/update.rhai index 06671bca2e..4d611f9d99 100644 --- a/anda/langs/crystal/crystal/update.rhai +++ b/anda/langs/crystal/crystal/update.rhai @@ -1,2 +1 @@ -let html = get("https://crystal-lang.org/"); -rpm.version(find("Latest release: (.+?)", html, 1)) +rpm.version(gh("crystal-lang/crystal"));