Skip to content
Permalink
Browse files

Check changelog using Changelog Check instead

  • Loading branch information...
dahlia committed Mar 5, 2019
1 parent 86f399a commit 083c0379d23ff041f8b5b35208d8577c4eaad73c
Showing with 3 additions and 14 deletions.
  1. +0 −13 .travis.yml
  2. +3 −1 CHANGES.md
@@ -122,20 +122,7 @@ script:
if [[ "$TRAVIS_OS_NAME" = "linux" && "$TRAVIS_TAG" != "" ]]; then
changes="$(submark -i --h2 "Version $TRAVIS_TAG" CHANGES.md | egrep '\S')"
[[ "$changes" != "" ]]
fi
# Check changelog
- |
commit_sha="${TRAVIS_PULL_REQUEST_SHA:-${TRAVIS_TAG:-${TRAVIS_COMMIT}}}"
if [[ "$(git tag -l)" = "" ]]; then
echo "Skip changelog chekcer because there has been no release yet."
elif git show --format=%B --quiet "$commit_sha" \
| egrep '\[(skip changelog|changelog skip)\]' > /dev/null; then
echo "Skip changelog checker..."
elif [[ "$TRAVIS_TAG" != "" ]]; then
! grep -i "to be released" CHANGES.md
else
[[ "$(git diff --name-only "$TRAVIS_COMMIT_RANGE" | grep CHANGES\.md)" != "" ]]
fi
# Check coding styles
@@ -4,7 +4,9 @@ Libplanet changelog
Version 0.1.1
-------------

- Improved stability of `Swarm` and `SwarmTest`.
To be released.

- Improved stability of `Swarm` and `SwarmTest`.


Version 0.1.0

0 comments on commit 083c037

Please sign in to comment.
You can’t perform that action at this time.