Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix version formatting for cros-keyboard-map #1989

Merged
merged 2 commits into from
Aug 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions anda/system/cros-keyboard-map/cros-keyboard-map.spec
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
%global commit_date 20240824

%global tree_commit b2e69368f96bdf7562dc1a95a0d863c794756842
%global tree_commit_date 20240814
%global tree_shortcommit %(c=%{tree_commit}; echo ${c:0:7})

%global um_commit 46892acafb2fff3f3ace425d4694382c92645feb
%global um_commit_date 20240824
%global um_shortcommit %(c=%{um_commit}; echo ${c:0:7})

%global debug_package %{nil}
%define __os_install_post %{nil}

Name: cros-keyboard-map
Version: %tree_commit_date.%tree_shortcommit.%um_commit_date.%um_shortcommit
Version: %commit_date.%tree_shortcommit.%um_shortcommit
Release: 1%?dist

License: BSD-3-Clause and GPLv3
Expand Down
3 changes: 1 addition & 2 deletions anda/system/cros-keyboard-map/update.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ if filters.contains("nightly") {
rpm.global("commit", gh_commit("WeirdTreeThing/cros-keyboard-map"));
if rpm.changed() {
rpm.release();
rpm.global("tree_commit_date", date());
rpm.global("um_commit_date", date());
rpm.global("commit_date", date());
}
}
Loading