mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
11 lines
281 B
Bash
Executable File
11 lines
281 B
Bash
Executable File
#!/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"
|