Skip to content

Commit

Permalink
Before v1 features are only patch #101
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo authored Jul 27, 2018
1 parent 4aef741 commit 56750ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ feature = false
puts "included commits…"
g.log.between("v#{v}", 'HEAD').each do |commit|
puts "* #{commit.message}"

if commit.message.include?("[breaking]")
breaking = true
end
Expand All @@ -71,7 +71,7 @@ else
end

release_type = if semver.major < 1
if breaking || feature
if breaking
"minor"
else
"patch"
Expand Down

0 comments on commit 56750ca

Please sign in to comment.