change update script and version scheme

This commit is contained in:
Willow C Reed
2026-06-05 10:23:52 -06:00
parent 13bf30c8b2
commit 433518833b
2 changed files with 11 additions and 3 deletions
+5 -2
View File
@@ -1,12 +1,15 @@
%global debug_package %{nil}
%global ver 5.0.0
%global commit e18b3699c3fbefe050d3c057e6ea2585e10410d8
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commitdate 20260604
%global upstreamname noctalia-shell
Name: noctalia-git
Version: 5.0.0
Release: 0.140.git%{shortcommit}%{?dist}
Version: %{ver}^%{commitdate}git.%{shortcommit}
Release: 1%{?dist}
Summary: A lightweight Wayland shell and bar built directly on Wayland + OpenGL ES, with no Qt or GTK dependency
License: MIT
+6 -1
View File
@@ -1 +1,6 @@
rpm.global("commit", gh_commit("noctalia-dev/noctalia-shell"));
rpm.global("commit", get("https://api.github.com/repos/noctalia-dev/noctalia-shell/commits/v5").json().sha);
if rpm.changed() {
// rpm.global("ver", gh("noctalia-dev/noctalia-shell"));
rpm.global("commit_date", date());
rpm.release();
}