chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ht / hterm / update.sh
blob31966eec66d0925fdd530b1285c1c4ac260a4eb6
1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p common-updater-scripts curl
3 # shellcheck shell=bash
5 set -eu -o pipefail
7 # The first valid version in the changelog should always be the latest version.
8 version="$(curl https://www.der-hammer.info/terminal/CHANGELOG.txt | grep -m1 -Po '[0-9]+\.[0-9]+\.[0-9]+')"
10 function update_hash_for_system() {
11 local system="$1"
12 # Reset the version number so the second architecture update doesn't get ignored.
13 update-source-version hterm 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" --system="$system"
14 update-source-version hterm "$version" --system="$system"
17 update_hash_for_system x86_64-linux
18 update_hash_for_system i686-linux