fix(ghostty-nightly): update.rhai mistake (#3497) (#3504)

* Crop v in release version

Signed-off-by: Gilver <rockgrub@disroot.org>

* Fix and bump

Signed-off-by: Gilver <rockgrub@disroot.org>

* Make release reset

Signed-off-by: Gilver <rockgrub@disroot.org>

* Didn't even touch that part so IDK where the semicolon went

Signed-off-by: Gilver <rockgrub@disroot.org>

---------

Signed-off-by: Gilver <rockgrub@disroot.org>
(cherry picked from commit 4c78bce9b7)

Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-02-21 19:32:06 -08:00
committed by GitHub
parent 22f2197c5c
commit 5a8da3896c
2 changed files with 7 additions and 4 deletions
@@ -3,7 +3,7 @@
%global fulldate 2025-02-22
%global commit_date %(echo %{fulldate} | sed 's/-//g')
%global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV
%global base_ver v1.1.2
%global base_ver 1.1.2
%global dev_ver 1.1.3
%if 0%{?fedora} <= 40
%global cache_dir %{_builddir}/zig-cache
@@ -13,7 +13,7 @@
Name: ghostty-nightly
Version: %{base_ver}~tip^%{commit_date}git%{shortcommit}
Release: 2%{?dist}
Release: 3%{?dist}
%if 0%{?fedora} <= 41
Epoch: 1
%endif
+5 -2
View File
@@ -7,7 +7,10 @@ if rpm.changed() {
date.truncate(10);
let html = get(`https://raw.githubusercontent.com/ghostty-org/ghostty/refs/heads/main/build.zig.zon`);
let ver = find(".version = \"([\\d.]+)\"", html, 1);
rpm.global("base_ver", gh_tag("ghostty-org/ghostty"));
let base = gh_tag("ghostty-org/ghostty");
base.crop(1);
rpm.global("base_ver", base);
rpm.global("fulldate", date);
rpm.global("dev_ver", ver)
rpm.global("dev_ver", ver);
rpm.release();
}