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.

Fixed publish.sh

Jan Curn2531368362f5
diff --git a/publish.sh b/publish.sh
index 0fac3fb5d..2deba475e 100755
--- a/publish.sh
+++ b/publish.sh
@@ -21,7 +21,7 @@ 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})
+ EXISTING_NPM_VERSION=$(npm view ${PACKAGE_NAME} versions | grep ${PACKAGE_VERSION}) | tee
if [ -z "${EXISTING_NPM_VERSION}" ]; then
printf "${RED}You can only publish to NPM from develop branch with beta tag!${NC}\n"
exit 1