nixpkgs/pkgs/by-name/yo/youtrack/update.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
287 B
Bash
Raw Normal View History

2024-01-31 20:05:40 +00:00
#!/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"