Skip to content

Commit

Permalink
fix(validate): equal commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelje authored and ajsb85 committed Oct 6, 2017
1 parent fe72b02 commit 254ff1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/scripts/ci_validate_workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

GH_COMMIT_MESSAGE=$(git log --pretty=oneline -n 1 $CIRCLE_SHA1)

if [[ $GH_COMMIT_MESSAGE != *"ci(release): generate CHANGELOG.md for version"* && $GH_COMMIT_MESSAGE != *"ci(build): release version"* ]]; then
if [[ $GH_COMMIT_MESSAGE == *"ci(release): generate CHANGELOG.md for version"* || $GH_COMMIT_MESSAGE == *"ci(build): release version"* ]]; then
echo "Running duplicated"
exit 1
fi

0 comments on commit 254ff1d

Please sign in to comment.