mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
10 lines
287 B
Bash
Executable File
10 lines
287 B
Bash
Executable File
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p curl xq-xml common-updater-scripts
|
|
|
|
set -eu -o pipefail
|
|
|
|
version="$(curl https://www.jetbrains.com/youtrack/update.xml | \
|
|
xq -x "/products/product[@name='YouTrack']/channel/build/@version")"
|
|
|
|
update-source-version youtrack "$version"
|