From b86a4adc92dae10218a8bda8c5820706cba894f8 Mon Sep 17 00:00:00 2001 From: Afiq Date: Sun, 18 Jun 2023 06:44:13 +0800 Subject: [PATCH] chore: update makerel.lua --- scripts/makerel.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/makerel.lua b/scripts/makerel.lua index 34687d8..fd8245f 100644 --- a/scripts/makerel.lua +++ b/scripts/makerel.lua @@ -16,9 +16,7 @@ local version = ("%s-%s"):format(ver, rev) local rs_name = ("catppuccin-%s.rockspec"):format(version) print(ver, rev, version, rs_name) -assert(os.rename("catppuccin-dev-1.rockspec", rs_name)) - -local f_rockspec = assert(io.open(rs_name)) +local f_rockspec = assert(io.open("catppuccin-dev-1.rockspec")) local cont_rockspec = f_rockspec:read("*a") :gsub("dev%-1", version) :gsub("@VERSION@", "v"..version)