3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/logseq/update.sh
2022-06-25 15:26:38 +02:00

6 lines
266 B
Bash
Executable file

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl jq common-updater-scripts
version="$(curl -sL "https://api.github.com/repos/logseq/logseq/releases" | jq 'map(select(.prerelease == false)) | .[0].tag_name' --raw-output)"
update-source-version logseq "$version"