From f0dd8bad6769d7b2a80f76933aec5b1bdf372edd Mon Sep 17 00:00:00 2001 From: Muness Castle <931+muness@users.noreply.github.com> Date: Thu, 8 Feb 2024 08:37:32 -0500 Subject: [PATCH] fix brat release script --- release-beta.sh => release-brat.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) rename release-beta.sh => release-brat.sh (83%) diff --git a/release-beta.sh b/release-brat.sh similarity index 83% rename from release-beta.sh rename to release-brat.sh index 1e6e459..6617f67 100755 --- a/release-beta.sh +++ b/release-brat.sh @@ -35,15 +35,10 @@ then jq ".version |= \"${NEW_VERSION}\"" package.json > "$TEMP_FILE" || exit 1 mv "$TEMP_FILE" package.json - echo "Updating manifest.json" + echo "Updating manifest-beta.json" TEMP_FILE=$(mktemp) jq ".version |= \"${NEW_VERSION}\" | .minAppVersion |= \"${MINIMUM_OBSIDIAN_VERSION}\"" manifest-beta.json > "$TEMP_FILE" || exit 1 - mv "$TEMP_FILE" manifest.json - - echo "Updating versions.json" - TEMP_FILE=$(mktemp) - jq ". += {\"${NEW_VERSION}\": \"${MINIMUM_OBSIDIAN_VERSION}\"}" versions.json > "$TEMP_FILE" || exit 1 - mv "$TEMP_FILE" versions.json + mv "$TEMP_FILE" manifest-beta.json read -p "Create git commit, tag, and push? [y/N] " -n 1 -r echo