Fix release (#369)

This commit is contained in:
Sung Won Cho 2019-12-17 17:46:01 +07:00 committed by GitHub
commit a18d9c817f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -151,7 +151,7 @@ endif
)
.PHONY: release-cli
release-server: clean build-server
release-server: clean
ifndef version
$(error version is required. Usage: make version=0.1.0 release-server)
endif

View file

@ -47,10 +47,10 @@ fi
echo "* creating release"
set -x
# first message is the title and the following are body in markdown
hub release create \
"${file_flags[@]}" \
"${flags[@]}" \
# first message is the title and the following are body in markdown
--message="$version_tag"\
--message="Please see the [CHANGELOG](https://github.com/dnote/dnote/blob/master/CHANGELOG.md)" \
"$version_tag"