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.

Another fix in publish.sh, bumped package.json version for test

Jan Curnab37045fa0c7
diff --git a/package.json b/package.json
index ddc777dc2..f3b26de17 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "apify",
- "version": "0.4.14",
+ "version": "0.4.15",
"description": "Apify runtime for JavaScript",
"main": "build/index.js",
"keywords": [
diff --git a/publish.sh b/publish.sh
index 4d8a87bbd..ec99b1675 100755
--- a/publish.sh
+++ b/publish.sh
@@ -22,12 +22,18 @@ git push
# Master gets published as LATEST if that version doesn't exists yet and retagged as LATEST otherwise.
if [ "${BRANCH}" = "master" ]; then
EXISTING_NPM_VERSION=$(npm view ${PACKAGE_NAME} versions | grep ${PACKAGE_VERSION} | tee)
+ echo "EXISTING_NPM_VERSION: '${EXISTING_NPM_VERSION}'"
if [ -z "${EXISTING_NPM_VERSION}" ]; then
printf "${RED}You can only publish to NPM with 'beta' tag from 'develop' branch!${NC}\n"
exit 1
else
echo "Tagging version ${PACKAGE_VERSION} with tag \"latest\" ..."
RUNNING_FROM_SCRIPT=1 npm dist-tag add ${PACKAGE_NAME}@${PACKAGE_VERSION} latest
+
+ echo "Tagging git commit with ${GIT_TAG} ..."
+ git tag ${GIT_TAG}
+ git push origin ${GIT_TAG}
+ echo "Git tag: ${GIT_TAG} created."
fi
# Develop branch gets published as BETA and we don't allow to override tag of existing version.
@@ -41,9 +47,5 @@ else
exit 1
fi
-echo "Tagging git with ${GIT_TAG} ..."
-git tag ${GIT_TAG}
-git push origin ${GIT_TAG}
-echo "Git tag: ${GIT_TAG} created."
echo "Done."