Fix release process and update self hosting instruction (#229)

* Get release script to work

* Update outdated instruction
This commit is contained in:
Sung Won Cho 2019-07-25 12:14:33 +10:00 committed by GitHub
commit 901918bce4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 23 deletions

View file

@ -10,7 +10,7 @@ project=$1
version=$2
assetPath=$3
if [ "$project" != "cli" ] || [ "$project" != "server" ]; then
if [ "$project" != "cli" ] && [ "$project" != "server" ]; then
echo "unrecognized project '$project'"
exit 1
fi
@ -24,7 +24,6 @@ if [[ $version == v* ]]; then
fi
# 1. push tag
version=$1
version_tag="$project-v$version"
echo "* tagging and pushing the tag"