about summary refs log tree commit diff
path: root/pkgs/development/web/cypress/update.sh
blob: f8389b517c32551993fc0eeda84faff46a057004 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p common-updater-scripts curl jq

set -euo pipefail

basedir="$(git rev-parse --show-toplevel)"
version="$(curl -sL https://cdn.cypress.io/desktop/ | jq '.version' --raw-output)"

cd "$basedir"
update-source-version cypress "$version"