Skip to content

Commit 37bcada

Browse files
committed
merge
1 parent 57e19d0 commit 37bcada

5 files changed

Lines changed: 21 additions & 16 deletions

File tree

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
# git commit -a -m "v1.0.0 Release"
1717
# git push
1818
# git checkout master
19-
# Then manually trigger build of deploy branch at
20-
# https://app.travis-ci.com/github/hapi-server/server-nodejs/
19+
# Manually bump version in package.json to next minor-beta, e.g., 1.0.1-beta.
2120

2221
env:
2322
global:
@@ -155,7 +154,6 @@ jobs:
155154
- deploy
156155
script: hapi-server --test
157156

158-
159157
notifications:
160158
email:
161159
recipients:

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,36 +43,42 @@ Installation and startup commands are given below the binary packages and docker
4343
OS-X x64:
4444

4545
```bash
46-
curl -L https://github.com/hapi-server/server-nodejs/releases/download/v1.0.8/hapi-server-v1.0.8-darwin-x64.tgz | tar zxf -
47-
cd hapi-server-v1.0.8
46+
curl -L https://github.com/hapi-server/server-nodejs/releases/download/v1.0.9/hapi-server-v1.0.9-darwin-x64.tgz | tar zxf -
47+
cd hapi-server-v1.0.9
4848
./hapi-server --open
4949
```
5050

5151
Linux x64:
5252

5353
```bash
54-
curl -L https://github.com/hapi-server/server-nodejs/releases/download/v1.0.8/hapi-server-v1.0.8-linux-x64.tgz | tar zxf -
55-
cd hapi-server-v1.0.8
54+
curl -L https://github.com/hapi-server/server-nodejs/releases/download/v1.0.9/hapi-server-v1.0.9-linux-x64.tgz | tar zxf -
55+
cd hapi-server-v1.0.9
5656
./hapi-server --open
5757
```
5858

5959
Linux ARMv7l:
6060

6161
```bash
62-
curl -L https://github.com/hapi-server/server-nodejs/releases/download/v1.0.8/hapi-server-v1.0.8-linux-armv7l.tgz | tar zxf -
63-
cd hapi-server-v1.0.8
62+
curl -L https://github.com/hapi-server/server-nodejs/releases/download/v1.0.9/hapi-server-v1.0.9-linux-armv7l.tgz | tar zxf -
63+
cd hapi-server-v1.0.9
6464
./hapi-server --open
6565
```
6666

6767
Docker:
6868

6969
```
70-
docker pull rweigel/hapi-server:v1.0.8
71-
docker run -dit --name hapi-server-v1.0.8 --expose 8999 -p 8999:8999 rweigel/hapi-server:v1.0.8
72-
docker exec -it hapi-server-v1.0.8 ./hapi-server
70+
docker pull rweigel/hapi-server:v1.0.9
71+
docker run -dit --name hapi-server-v1.0.9 --expose 8999 -p 8999:8999 rweigel/hapi-server:v1.0.9
72+
docker exec -it hapi-server-v1.0.9 ./hapi-server
7373
# Open http://localhost:8999/TestData/hapi in a web browser
7474
```
7575

76+
npm:
77+
78+
```
79+
npm install -g "@hapi-server/server"
80+
```
81+
7682
<a name="Examples"></a>
7783
## 2. Examples
7884

hapi-server

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fi
1818
# Use node in path if version > versionmin
1919
if command -v node > /dev/null 2>&1; then
2020
version=$(node -v)
21-
versionf=${version//v/}
21+
versionf=${version#v}
2222
version="${versionf%%.*}"
2323
if test $version -gt $(($versionmin-1)); then
2424
echo "hapi-server: Using system node binary with version = $versionf."
@@ -29,7 +29,7 @@ if command -v node > /dev/null 2>&1; then
2929
fi
3030
elif command -v nodejs > /dev/null 2>&1; then
3131
version=$(node -v)
32-
versionf=${version//v/}
32+
versionf=${version#v}
3333
version="${versionf%%.*}"
3434
if test $version -gt $(($versionmin-1)); then
3535
echo "hapi-server: Using system nodejs binary with version = $versionf."

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hapi-server/server",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"license": "MIT",
55
"engine-strict": true,
66
"engines": {

pkg/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ NODED=https://nodejs.org/dist/latest-v6.x
1313
# Do not modify following line. Version set by call to
1414
# npm run version
1515
# which uses version in package.json
16-
VERSION=v1.0.8 # Do not modify
16+
VERSION=v1.0.9 # Do not modify
1717

1818
# To get other OS-X versions, see
1919
# https://developer.apple.com/forums/thread/111322
@@ -127,6 +127,7 @@ docker-release-test:
127127
docker pull rweigel/hapi-server:$(VERSION)
128128
docker run -dit --name hapi-server-release-$(VERSION) --expose 8998 -p 8998:8998 rweigel/hapi-server:$(VERSION)
129129
docker exec -it hapi-server-release-$(VERSION) ./hapi-server test
130+
docker stop hapi-server-release-$(VERSION)
130131

131132
test-packages:
132133
make test-package VERSION=$(VERSION) OS=darwin-x64

0 commit comments

Comments
 (0)