12 lines
271 B
Bash
Executable File
12 lines
271 B
Bash
Executable File
#!/usr/bin/env bash
|
|
source "$(dirname $0)/utils.sh"
|
|
|
|
if not_installed "firebase"; then
|
|
echo "Installing firebase..."
|
|
run "https://firebase.tools" "bash"
|
|
fi
|
|
|
|
echo "firebase is installed, upgrading..."
|
|
curl -sL firebase.tools | upgrade=true bash
|
|
firebase --version
|