diff options
Diffstat (limited to 'pkgs/tools/backup/discordchatexporter-cli/updater.sh')
-rwxr-xr-x | pkgs/tools/backup/discordchatexporter-cli/updater.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/tools/backup/discordchatexporter-cli/updater.sh b/pkgs/tools/backup/discordchatexporter-cli/updater.sh index 6628cceaa95..cc81761b93d 100755 --- a/pkgs/tools/backup/discordchatexporter-cli/updater.sh +++ b/pkgs/tools/backup/discordchatexporter-cli/updater.sh @@ -3,8 +3,6 @@ set -eo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" -deps_file="$(realpath "./deps.nix")" - 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)" if [[ "$new_version" == "$old_version" ]]; then @@ -14,4 +12,4 @@ fi cd ../../../.. update-source-version discordchatexporter-cli "$new_version" -$(nix-build -A discordchatexporter-cli.fetch-deps --no-out-link) "$deps_file" +$(nix-build -A discordchatexporter-cli.fetch-deps --no-out-link) |