1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p curl xq-xml common-updater-scripts
6 version
="$(curl https://www.jetbrains.com/youtrack/update.xml | \
7 xq -x "/products
/product
[@name
='YouTrack']/channel
/build
/@version
")"
9 update-source-version youtrack
"$version"