Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
[Build] format changelog differently.
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-shatskyi committed May 31, 2016
1 parent 1fdde3b commit 315c410
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion housekeeping/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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

Expand Down

0 comments on commit 315c410

Please sign in to comment.