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.

Changed publish.sh and bumped package.json version in an attempt to have NPM readme updated

Jan Curn38198d76f79d
diff --git a/package.json b/package.json
index b596cf19a..49b229f32 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "apify",
- "version": "0.4.1",
+ "version": "0.4.2",
"description": "Apify runtime for JavaScript",
"main": "build/index.js",
"keywords": [
diff --git a/publish.sh b/publish.sh
index 3b0d6589a..4c903077b 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='latest'
+ NPM_TAG=''
GIT_TAG="v${PACKAGE_VERSION}"
else
- NPM_TAG='beta'
+ NPM_TAG='--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 --tag $NPM_TAG
+RUNNING_FROM_SCRIPT=1 npm publish $NPM_TAG
echo "Tagging git with ${GIT_TAG} ..."
git tag ${GIT_TAG}