We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80474a8 + ed70365 commit 8966a87Copy full SHA for 8966a87
tool/release.rb
@@ -160,7 +160,7 @@ def initialize(version)
160
@previous_stable_branch = @level == :minor_or_major ? "#{segments[0]}.#{segments[1] - 1}" : @stable_branch
161
@previous_stable_branch = "3.7" if @stable_branch == "4.0"
162
163
- @previous_release_tag = if @level == :minor_or_major
+ @previous_release_tag = if @level == :minor_or_major && segments.size < 4
164
"v#{@previous_stable_branch}.0"
165
else
166
`git describe --tags --abbrev=0`.strip
0 commit comments