diff --git a/.travis.yml b/.travis.yml index e6e619ed..badf8d21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,4 +24,5 @@ before_script: script: - npm run lint - - cypress run --record --key $CYPRESS_KEY + - if [ "$CYPRESS_KEY" = "" ]; then cypress run; fi + - if [ "$CYPRESS_KEY" != "" ]; then cypress run --record --key $CYPRESS_KEY; fi diff --git a/Makefile b/Makefile index 087cc051..fdb98c5a 100644 --- a/Makefile +++ b/Makefile @@ -15,11 +15,14 @@ up: open http://localhost:8080 .PHONY: up +bump: + npm --no-git-tag-version version $(SEMVER); +.PHONY: bump + build: guard-SEMVER mkdir $(BUILD_DIR) git archive HEAD | tar -x -C $(BUILD_DIR) cd $(BUILD_DIR); \ - npm --no-git-tag-version version $(SEMVER); \ npm install; \ npm run build --production; .PHONY: build diff --git a/examples/articles/package.json b/examples/articles/package.json index 2f4beeb2..6b06d90b 100644 --- a/examples/articles/package.json +++ b/examples/articles/package.json @@ -29,7 +29,7 @@ "jquery-ias" ], "dependencies": { - "@webcreate/infinite-ajax-scroll": "^3.0.0-beta.3" + "@webcreate/infinite-ajax-scroll": "^3.0.0-beta.4" }, "devDependencies": { "parcel-bundler": "^1.10.3" diff --git a/examples/blocks/package.json b/examples/blocks/package.json index 7796467f..a526206b 100644 --- a/examples/blocks/package.json +++ b/examples/blocks/package.json @@ -29,7 +29,7 @@ "jquery-ias" ], "dependencies": { - "@webcreate/infinite-ajax-scroll": "^3.0.0-beta.3" + "@webcreate/infinite-ajax-scroll": "^3.0.0-beta.4" }, "devDependencies": { "parcel-bundler": "^1.10.3" diff --git a/examples/masonry/package.json b/examples/masonry/package.json index b1e4d3e5..1bd4ed81 100644 --- a/examples/masonry/package.json +++ b/examples/masonry/package.json @@ -29,7 +29,7 @@ "jquery-ias" ], "dependencies": { - "@webcreate/infinite-ajax-scroll": "^3.0.0-beta.3", + "@webcreate/infinite-ajax-scroll": "^3.0.0-beta.4", "imagesloaded": "^4.1.4", "masonry-layout": "^4.2.2" }, diff --git a/package-lock.json b/package-lock.json index c81f0c05..2e446f18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@webcreate/infinite-ajax-scroll", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index d19df76c..f7805035 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@webcreate/infinite-ajax-scroll", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "title": "Infinite Ajax Scroll", "description": "Turn your existing pagination into infinite scrolling pages with ease", "license": "AGPL-3.0-only",