1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 18:03:22 +00:00
nixpkgs/pkgs/development/web/cypress/update.sh

11 lines
281 B
Bash
Raw Normal View History

2021-05-02 01:27:06 +01:00
#!/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"