Skip to content

Commit

Permalink
Update release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Harjot1Singh authored Jan 4, 2018
1 parent 0892b35 commit 8839fd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ log_messages=$(git log origin/master...HEAD --format=%s)
major_re=\\bMAJOR\\b
minor_re=\\bMINOR\\b

echo ${log_messages}

if [[ ${log_messages} =~ ${major_re} ]]; then
echo "Major Release"
release-it major -n --github.release --github.assets=build/database.sqlite
Expand Down

0 comments on commit 8839fd5

Please sign in to comment.