1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p git -p common-updater-scripts
6 repo
="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
8 revision
="$(git ls-remote --refs --tags --sort refname "$repo" | tail -n1 | cut -f2 | cut -d '/' -f3)"
10 update-source-version linux-firmware
"$revision"