Skip to content

Commit

Permalink
chore(scripts): Patch regex for install scripts, to allow installing …
Browse files Browse the repository at this point in the history
…release candidates (risingwavelabs#16937)
  • Loading branch information
kwannoel authored May 25, 2024
1 parent 6b362ad commit 9144a3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/install/install-risingwave.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ META_STORE_PATH="${HOME}/.risingwave/meta_store"

VERSION=$(curl -s https://api.github.com/repos/risingwavelabs/risingwave/releases/latest \
| grep '.tag_name' \
| sed -E -n 's/.*(v[0-9]+.[0-9]+.[0-9])\",/\1/p')
| sed -E -n 's/.*(v[0-9]+.[0-9]+.[0-9]+.*)\",/\1/p')

BASE_URL="https://github.com/risingwavelabs/risingwave/releases/download"

Expand Down Expand Up @@ -48,11 +48,11 @@ fi

############# BREW INSTALL
if [ "${USE_BREW}" -eq 1 ]; then
echo "Installing RisingWave@${VERSION} using Homebrew."
echo "Installing RisingWave using Homebrew."
brew tap risingwavelabs/risingwave
brew install risingwave
echo
echo "Successfully installed RisingWave@${VERSION} using Homebrew."
echo "Successfully installed RisingWave using Homebrew."
echo
echo "Run RisingWave:"
echo
Expand Down Expand Up @@ -97,7 +97,7 @@ echo " rm -r ~/.risingwave"
echo
echo "To view available options, run:"
echo
echo " risingwave single-node --help"
echo " ./risingwave single-node --help"
echo
# Check if $JAVA_HOME is set, if not, prompt user to install Java, and set $JAVA_HOME.
if [ -z "${JAVA_HOME}" ]; then
Expand Down

0 comments on commit 9144a3d

Please sign in to comment.