From 315c410e4b7078dea7562c675874ac8ae9b820e6 Mon Sep 17 00:00:00 2001 From: Volodymyr Shatsky Date: Tue, 31 May 2016 23:34:09 +0300 Subject: [PATCH] [Build] format changelog differently. --- housekeeping/deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/housekeeping/deploy.sh b/housekeeping/deploy.sh index 838bd50a7..b6da64d3c 100644 --- a/housekeeping/deploy.sh +++ b/housekeeping/deploy.sh @@ -6,6 +6,8 @@ npm version patch -m "Bump version to %s. [ci skip]" npm run release git push --quiet "https://$GH_TOKEN:x-oauth-basic@github.com/shockone/black-screen.git" HEAD:master --tags > /dev/null 2>&1 +echo "Git version: $(git --version)" + TAG_NAME=$(git describe --abbrev=0) echo "($?) Current tag: $TAG_NAME" @@ -15,7 +17,7 @@ echo "($?) Previous tag: $PREVIOUS_TAG_NAME" LAST_DRAFT_ID=$(curl "https://$GH_TOKEN:x-oauth-basic@api.github.com/repos/shockone/black-screen/releases" | python -c "import json,sys; array=json.load(sys.stdin); print array[0]['id'];") echo "($?) Last draft ID: $LAST_DRAFT_ID" -BODY=$(git log --pretty=format:'%h% %d %s%n' --abbrev-commit --no-merges $TAG_NAME...$PREVIOUS_TAG_NAME) +BODY=$(git log --pretty=format:'* %h% %d %s\\n' --abbrev-commit --no-merges $TAG_NAME...$PREVIOUS_TAG_NAME) echo "($?) Body:" echo $BODY