From f8fed040ba03ccd5301ea25c5ff3726f5aa6bd8f Mon Sep 17 00:00:00 2001 From: pando85 Date: Mon, 24 Dec 2018 01:53:17 +0100 Subject: [PATCH] Fix: correct markdown and commit in changelog script (#40) * Fix: correct markdown and commit in changelog script * Remove: clean changelog --- .ci/make_changelog.sh | 4 ++-- CHANGELOG.md | 11 ----------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/.ci/make_changelog.sh b/.ci/make_changelog.sh index f681606..b8b6c28 100755 --- a/.ci/make_changelog.sh +++ b/.ci/make_changelog.sh @@ -1,9 +1,9 @@ #!/bin/bash set -e -NEW_LOG=$(git log $(git describe --tags --abbrev=1 HEAD^^)..HEAD^ --pretty=format:'- %s'| sort | grep -v Merge | grep -v Release) +NEW_LOG=$(git log $(git describe --tags --abbrev=1 HEAD^)..HEAD --pretty=format:'- %s'| sort | grep -v Merge | grep -v Release) -echo " # $(git describe --tags --abbrev=0 HEAD)"$'\n'$'\n'"${NEW_LOG}"$'\n'$'\n'"$(cat CHANGELOG.md)" > CHANGELOG.md +echo "# $(git describe --tags --abbrev=0 HEAD)"$'\n'$'\n'"${NEW_LOG}"$'\n'$'\n'"$(cat CHANGELOG.md)" > CHANGELOG.md if [ ! -z "${TRAVIS_REPO_SLUG}" ]; then git config user.name "tracis-ci" diff --git a/CHANGELOG.md b/CHANGELOG.md index a0da335..e69de29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +0,0 @@ - # 0.2.11 - -- Update changelog - - # 0.2.10 - -- Add description to jwt example (#36) - - # 0.2.9 - -- Replace HS256 by RS256 asymetric algorithm (#34)