Skip to content

Commit

Permalink
fix brat release script
Browse files Browse the repository at this point in the history
  • Loading branch information
muness committed Feb 8, 2024
1 parent 34ebb5c commit f0dd8ba
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions release-beta.sh → release-brat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f0dd8ba

Please sign in to comment.