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