diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2024-06-09 19:46:03 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2024-06-09 20:33:23 +0200 |
commit | 0421c816badf8502a3abd6a82573b8d147690a44 (patch) | |
tree | e1286259aedb05a82fb170dbf955a9466960e957 /pkgs/tools/video/recyclarr | |
parent | 4627e4849e6df96d1b18b14144d39256e606387e (diff) |
treewide: Simplify use of update-source-version
- `--ignore-same-version` allows us to not call it twice. - with that, we can also omit version, to allow us updating e.g. `cargoDeps` hash
Diffstat (limited to 'pkgs/tools/video/recyclarr')
-rwxr-xr-x | pkgs/tools/video/recyclarr/update.sh | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/pkgs/tools/video/recyclarr/update.sh b/pkgs/tools/video/recyclarr/update.sh index 83942439cc284..c9e5d5731992a 100755 --- a/pkgs/tools/video/recyclarr/update.sh +++ b/pkgs/tools/video/recyclarr/update.sh @@ -24,23 +24,8 @@ function get_hash() { nix hash to-sri "sha256:$pkg_hash" } -# aarch64-darwin -# reset version first so that all platforms are always updated and in sync -update-source-version recyclarr 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" --system="aarch64-darwin" -update-source-version recyclarr "$latestVersion" $(get_hash osx arm64 "$latestVersion") --system="aarch64-darwin" - -# x86_64-darwin -# reset version first so that all platforms are always updated and in sync -update-source-version recyclarr 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" --system="x86_64-darwin" -update-source-version recyclarr "$latestVersion" $(get_hash osx x64 "$latestVersion") --system="x86_64-darwin" - -# aarch64-linux -# reset version first so that all platforms are always updated and in sync -update-source-version recyclarr 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" --system="aarch64-linux" -update-source-version recyclarr "$latestVersion" $(get_hash linux arm64 "$latestVersion") --system="aarch64-linux" - -# x86_64-linux -# reset version first so that all platforms are always updated and in sync -update-source-version recyclarr 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" --system="x86_64-linux" -update-source-version recyclarr "$latestVersion" $(get_hash linux x64 "$latestVersion") --system="x86_64-linux" +update-source-version recyclarr "$latestVersion" $(get_hash osx arm64 "$latestVersion") --system="aarch64-darwin" --ignore-same-version +update-source-version recyclarr "$latestVersion" $(get_hash osx x64 "$latestVersion") --system="x86_64-darwin" --ignore-same-version +update-source-version recyclarr "$latestVersion" $(get_hash linux arm64 "$latestVersion") --system="aarch64-linux" --ignore-same-version +update-source-version recyclarr "$latestVersion" $(get_hash linux x64 "$latestVersion") --system="x86_64-linux" --ignore-same-version |