From d0a07846169e770f998b35c52ef46bc5f713aad2 Mon Sep 17 00:00:00 2001 From: soulgalore Date: Tue, 24 Sep 2024 08:35:40 +0200 Subject: [PATCH] new script --- server/release.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 server/release.sh 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