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.
1 parent a3246ee commit ea25659Copy full SHA for ea25659
scripts/release.rb
@@ -10,12 +10,12 @@
10
now = Time.new
11
(year, month, patch) = last_version.split('.').map{|x| x.to_i}
12
13
-if year == now.year-2000 && month == now.month
+if year == now.year
14
patch = patch + 1
15
else
16
patch = 0
17
end
18
-default_version = "#{now.year-2000}.#{now.month}.#{patch}"
+default_version = "#{now.year}.#{now.month}.#{patch}"
19
print "next version (default: #{default_version})? "
20
next_version = STDIN.gets.chomp
21
0 commit comments