Skip to content

Commit

Permalink
bump: mpv (#1606)
Browse files Browse the repository at this point in the history
* fix(update): mpv

Signed-off-by: madomado <[email protected]>

* bump: mpv

Signed-off-by: madomado <[email protected]>

---------

Signed-off-by: madomado <[email protected]>
  • Loading branch information
madonuko authored Jul 23, 2024
1 parent 0836405 commit e6ba93e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion anda/apps/mpv/mpv-nightly.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%global commit e509ec0aaffce74e520702e16e3e21ea0f168940
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20240720
%global ver v0.38.0
%global ver 0.38.0

Name: mpv-nightly
Version: %ver^%commit_date.%shortcommit
Expand Down
6 changes: 5 additions & 1 deletion anda/apps/mpv/update.rhai
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
if filters.contains("nightly") {
rpm.global("commit", gh_commit("mpv-player/mpv"));
if rpm.changed() {
rpm.global("ver", gh("mpv-player/mpv"));
let v = gh("mpv-player/mpv");
if v.starts_with("v") {
v.crop(1);
}
rpm.global("ver", v);
rpm.global("commit_date", date());
rpm.release();
}
Expand Down

0 comments on commit e6ba93e

Please sign in to comment.