nixpkgs-suyu/pkgs/applications/misc/logseq/update.sh
2021-03-20 19:28:50 -04:00

5 lines
230 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 '.[0].tag_name' --raw-output)"
update-source-version logseq "$version"