Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Reverted to old version of publish.sh

Jan Curndce7e365bc17
diff --git a/publish.sh b/publish.sh
index 4c903077b..3b0d6589a 100755
--- a/publish.sh
+++ b/publish.sh
@@ -15,10 +15,10 @@ if [ -z "$BRANCH_UP_TO_DATE" ]; then
fi
if [ $BRANCH = "master" ]; then
- NPM_TAG=''
+ NPM_TAG='latest'
GIT_TAG="v${PACKAGE_VERSION}"
else
- NPM_TAG='--tag beta'
+ NPM_TAG='beta'
GIT_TAG="v${PACKAGE_VERSION}-beta"
fi
@@ -26,7 +26,7 @@ echo "Pushing to git ..."
git push
echo "Publishing version ${PACKAGE_VERSION} with tag \"${NPM_TAG}\" ..."
-RUNNING_FROM_SCRIPT=1 npm publish $NPM_TAG
+RUNNING_FROM_SCRIPT=1 npm publish --tag $NPM_TAG
echo "Tagging git with ${GIT_TAG} ..."
git tag ${GIT_TAG}