@@ -6,7 +6,7 @@ set -euo pipefail
66cd "$(dirname "$0")"
77
88CURRENT_VERSION=$(nix eval --raw '(with import ../../../../. {}; matrix-appservice-irc.version)')
9−TARGET_VERSION="$(curl https://api.github.com/repos/matrix-org/matrix-appservice-irc/releases/latest | jq -r ".tag_name")"
9+TARGET_VERSION="$(curl https://api.github.com/repos/matrix-org/matrix-appservice-irc/releases/latest | jq --exit-status -r ".tag_name")"
1010
1111if [[ "$CURRENT_VERSION" == "$TARGET_VERSION" ]]; then
1212 echo "matrix-appservice-irc is up-to-date: ${CURRENT_VERSION}"
@@ -18,7 +18,6 @@ echo "matrix-appservice-irc: $CURRENT_VERSION -> $TARGET_VERSION"
1818rm -f package.json package-lock.json
1919wget https://github.com/matrix-org/matrix-appservice-irc/raw/$TARGET_VERSION/package.json
2020wget -O package-lock-temp.json https://github.com/matrix-org/matrix-appservice-irc/raw/$TARGET_VERSION/package-lock.json
21−echo "$TARGET_VERSION" > ./REVISION
2221
2322./generate-dependencies.sh
2423