From df929e942020b3b05e98893bc3cd33079839bc3a Mon Sep 17 00:00:00 2001 From: sudotac Date: Sat, 16 May 2026 22:50:09 +0900 Subject: [PATCH] Rakefile: Fix tag name of Temml during upgrade In recent releases of Temml, two different tags are provided. One is detached from main branch and has dist and contrib only. The other is created on main branch and has source. I'd like to use the latter because it is easy to track updates. --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 250b0fa..9548a96 100644 --- a/Rakefile +++ b/Rakefile @@ -22,9 +22,9 @@ task :update, :version do |_task, args| # rubocop:disable Metrics/BlockLength end dl_path = File.join('tmp', 'temml-dl', version) url = 'https://github.com/ronkok/Temml/archive/refs/tags/' \ - "v#{version}.tar.gz" + "main-v#{version}.tar.gz" Minitar.unpack(Zlib::GzipReader.new(URI.parse(url).open), dl_path) - dist_path = File.join(dl_path, "Temml-#{version}", 'dist') + dist_path = File.join(dl_path, "Temml-main-v#{version}", 'dist') # Copy assets assets_path = File.join('vendor', 'temml')