Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / web / cypress / update.sh
blobf8389b517c32551993fc0eeda84faff46a057004
1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p common-updater-scripts curl jq
4 set -euo pipefail
6 basedir="$(git rev-parse --show-toplevel)"
7 version="$(curl -sL https://cdn.cypress.io/desktop/ | jq '.version' --raw-output)"
9 cd "$basedir"
10 update-source-version cypress "$version"