Skip to content
This repository was archived by the owner on Nov 23, 2022. It is now read-only.

Commit 7516123

Browse files
committed
Merge branch 'develop', prepare 4.0.3
2 parents 89e1872 + 2d540b3 commit 7516123

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.travis.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ before_install:
1616
after_success:
1717
- docker rmi $(docker images -q)
1818
- yarn coveralls
19-
# build npm binary
20-
- yarn build-bundle
21-
- mv dist/index.js bin/server-core.js
22-
- mv dist/home.html bin/home.html
23-
# build main docker image
2419
- yarn build
2520
- docker login -u $HUB_USER -p $HUB_PASS
2621
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "exoframe-server",
3-
"version": "4.0.2",
3+
"version": "4.0.3-dev",
44
"description": "Exoframe is a self-hosted tool that allows simple one-command deployments using Docker",
55
"main": "bin/server-core.js",
66
"bin": "bin/exoframe-server.js",
@@ -9,10 +9,11 @@
99
"test": "NODE_ENV=testing jest --coverage --silent --maxWorkers=2 --ci",
1010
"coveralls": "cat ./coverage/lcov.info | coveralls",
1111
"build-bundle": "ncc build src/index.js -o dist",
12-
"build": "pkg -t node10.4.1-alpine -o exoframe-server ."
12+
"prepare-build": "mv dist/index.js bin/server-core.js && mv dist/home.html bin/home.html",
13+
"build": "yarn build-bundle && yarn prepare-build && pkg -t node10.4.1-alpine -o exoframe-server ."
1314
},
1415
"pkg": {
15-
"assets": "src/templates/*.html"
16+
"assets": "bin/home.html"
1617
},
1718
"files": [
1819
"bin/exoframe-server.js",

0 commit comments

Comments
 (0)