From 083c0379d23ff041f8b5b35208d8577c4eaad73c Mon Sep 17 00:00:00 2001 From: Hong Minhee Date: Tue, 5 Mar 2019 16:43:36 +0900 Subject: [PATCH] Check changelog using Changelog Check instead See also: - https://github.com/apps/changelog-check - https://github.com/planetarium/changelog-check --- .travis.yml | 13 ------------- CHANGES.md | 4 +++- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4b93b483999..729f49823fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/CHANGES.md b/CHANGES.md index 118ae80bf76..0d24efb4456 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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