diff --git a/server/release.sh b/server/release.sh new file mode 100755 index 0000000..41f0af4 --- /dev/null +++ b/server/release.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -e +# You need np for this to work +# npm install --global np + +npm config set tag-version-prefix=server-v +np $* --no-tests +npm config set tag-version-prefix=v + +# bin/browsertime.js --help > ../sitespeed.io/docs/documentation/browsertime/configuration/config.md + +node app.js --version | tr -d '\n' > ../../sitespeed.io/docs/_includes/version/server.txt \ No newline at end of file