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

Commit

Permalink
Fix: correct markdown and commit in changelog script (#40)
Browse files Browse the repository at this point in the history
* Fix: correct markdown and commit in changelog script

* Remove: clean changelog
  • Loading branch information
pando85 committed Dec 24, 2018
1 parent 58fd148 commit f8fed04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .ci/make_changelog.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
11 changes: 0 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit f8fed04

Please sign in to comment.