discordchatexporter-cli: move to by-name

This commit is contained in:
éclairevoyant 2024-01-20 08:28:25 -05:00
parent 09c1497ce5
commit eea6943f7f
No known key found for this signature in database
GPG Key ID: E3813AEAA02DB54B
4 changed files with 1 additions and 3 deletions

View File

@ -4,7 +4,7 @@ set -eo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
new_version="$(curl -s "https://api.github.com/repos/tyrrrz/DiscordChatExporter/releases?per_page=1" | jq -r '.[0].name')"
old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./default.nix)"
old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./package.nix)"
if [[ "$new_version" == "$old_version" ]]; then
echo "Up to date"
exit 0

View File

@ -20885,8 +20885,6 @@ with pkgs;
directfb = callPackage ../development/libraries/directfb { };
discordchatexporter-cli = callPackage ../tools/backup/discordchatexporter-cli { };
discord-gamesdk = callPackage ../development/libraries/discord-gamesdk { };
discord-rpc = callPackage ../development/libraries/discord-rpc {