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.

Updated publish.sh

Jan Curn4f0ecefc1903
diff --git a/publish.sh b/publish.sh
index d2b5601c7..16bd41331 100755
--- a/publish.sh
+++ b/publish.sh
@@ -28,7 +28,7 @@ git push
if [ "${BRANCH}" = "master" ]; then
EXISTING_NPM_VERSION=$(npm view ${PACKAGE_NAME} versions --json | grep ${PACKAGE_VERSION} | tee) # Using tee to swallow non-zero exit code
if [ -z "${EXISTING_NPM_VERSION}" ]; then
- printf "${RED}Version ${PACKAGE_VERSION} was not yet published on NPM. Note that you can only publish to NPM from \"develop\" branch!${NC}\n"
+ printf "${RED}Version ${PACKAGE_VERSION} was not yet published on NPM. Note that you can only publish to NPM from non-master branch!${NC}\n"
exit 1
else
echo "Tagging version ${PACKAGE_VERSION} with tag \"latest\" ..."