|
|
@@ -23,7 +23,24 @@ fi
|
|
|
|
|
|
cd "$REPO_DIR/brew_dist"
|
|
|
# make sure archivebox.rb is up-to-date with the dependencies
|
|
|
+git pull
|
|
|
+git status | grep 'up to date'
|
|
|
|
|
|
-echo "[+] Building Homebrew bottle"
|
|
|
-brew install --build-bottle ./archivebox.rb
|
|
|
+echo
|
|
|
+echo "[+] Uninstalling any exisitng archivebox versions..."
|
|
|
+brew uninstall archivebox || true
|
|
|
+brew untap archivebox/archivebox || true
|
|
|
+
|
|
|
+# echo "[*] Running Formula linters and test build..."
|
|
|
+# brew test-bot --tap=ArchiveBox/homebrew-archivebox archivebox/archivebox/archivebox || true
|
|
|
+# brew uninstall archivebox || true
|
|
|
+# brew untap archivebox/archivebox || true
|
|
|
+
|
|
|
+echo
|
|
|
+echo "[+] Installing and building hombrew bottle from https://Github.com/ArchiveBox/homebrew-archivebox#main"
|
|
|
+brew tap archivebox/archivebox
|
|
|
+brew install --build-bottle archivebox
|
|
|
brew bottle archivebox
|
|
|
+
|
|
|
+echo
|
|
|
+echo "[√] Finished. Make sure to commit the outputted .tar.gz and bottle files!"
|