Skip to content

Commit

Permalink
refactor: temp change for update script to also use syntax-7
Browse files Browse the repository at this point in the history
  • Loading branch information
PVermeer committed Jan 3, 2025
1 parent 1164b68 commit 4e232d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/update-rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ update_rpm() {
local current_dep_commit=$(grep '%global depcommit\s.*$' $spec_file | awk '{ print $3 }')

local new_main_commit=$(curl -s -H "Accept: application/vnd.github.VERSION.sha" "https://api.github.com/repos/WeirdTreeThing/chromebook-linux-audio/commits/HEAD")
local new_dep_commit=$(curl -s -H "Accept: application/vnd.github.VERSION.sha" "https://api.github.com/repos/WeirdTreeThing/alsa-ucm-conf-cros/commits/HEAD")

# Temporary using syntax-7 branch since this seems to work better with new kernel
# local new_dep_commit=$(curl -s -H "Accept: application/vnd.github.VERSION.sha" "https://api.github.com/repos/WeirdTreeThing/alsa-ucm-conf-cros/commits/HEAD")
local new_dep_commit=$(curl -s -H "Accept: application/vnd.github.VERSION.sha" "https://api.github.com/repos/WeirdTreeThing/alsa-ucm-conf-cros/commits/syntax-7")

if [ "$current_main_commit" = "$new_main_commit" ] && [ "$current_dep_commit" = "$new_dep_commit" ]; then

Expand Down

0 comments on commit 4e232d0

Please sign in to comment.