Skip to content

Commit

Permalink
build v3.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carueda committed Nov 23, 2017
1 parent add9d26 commit 57f09fa
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ Finally:

```
git add -u
git commit -m "update orr-portal and orr-ont pointers and build v${ORR_VERSION}"
git commit -m "build v${ORR_VERSION}"
git push origin master
git tag "v${ORR_VERSION}"
git push origin "v${ORR_VERSION}"
```

And, create release at https://github.com/mmisw/orr/releases with the WAR file.
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ set -e
set -u

function main {
echo "building $version"
package_orr_portal
package_orr_ont
dockerize
}

function package_orr_portal {
echo "packaging orr-portal"
# that is, "install" orr-portal under orr-ont's webapp dir
cd orr-portal
npm install
Expand All @@ -36,12 +38,14 @@ function package_orr_portal {
}

function package_orr_ont {
echo "packaging orr-ont"
cd orr-ont
sbt8 test package
cd ..
}

function dockerize {
echo "building image mmisw/orr:$version"
docker build --build-arg version=${version} -t "mmisw/orr:$version" --no-cache .
}

Expand Down
2 changes: 1 addition & 1 deletion orr-portal

0 comments on commit 57f09fa

Please sign in to comment.