1
0
mirror of https://github.com/Luzifer/github-publish.git synced 2024-09-19 16:02:57 +00:00

Revert "Add description to release created"

This reverts commit e6836ba135.
This commit is contained in:
Knut Ahlers 2017-08-19 15:52:02 +02:00
parent e6836ba135
commit 129170def2
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E
2 changed files with 2 additions and 10 deletions

View File

@ -1,2 +1,2 @@
05e4977d541b2ef07c757acca912b7b58b379fb425eceb3a1f53c829a78a4aa4 docker2aci.sh
7a138f44b13a04fbe55af6f9b50a84f365594024b131207040dee21bfb7248dc golang.sh
e1d40e89ab12c49c156f92ccc5ed03d1d816e6d69e5c4d86d064ddebb388c3ac golang.sh

View File

@ -44,15 +44,7 @@ set -x
sha256sum ${REPO}_* > SHA256SUMS
# Create a drafted release
DESC="${VERSION}"
if [ -f History.md ]; then
sv=$(echo ${VERSION} | sed 's/^v//')
DESC=$(awk "/# ${sv}/{flag=1;next} /# /{flag=0} flag" History.md | head -n -1 | tail -n +2)
fi
github-release release --user ${GHUSER} --repo ${REPO} \
--tag ${DEPLOYMENT_TAG} --name ${DEPLOYMENT_TAG} \
--description ${DESC} --draft || true
github-release release --user ${GHUSER} --repo ${REPO} --tag ${DEPLOYMENT_TAG} --name ${DEPLOYMENT_TAG} --draft || true
# Upload build assets
for file in ${REPO}_* SHA256SUMS; do