Only write the latest_version.txt file if it's non-beta/alpha/rc.
This commit is contained in:
parent
382c54e057
commit
5e0341c9b3
2
Rakefile
2
Rakefile
|
@ -253,7 +253,7 @@ namespace :site do
|
|||
|
||||
desc "Write the site latest_version.txt file"
|
||||
task :version_file do
|
||||
File.open('site/latest_version.txt', 'wb') { |f| f.write(version) }
|
||||
File.open('site/latest_version.txt', 'wb') { |f| f.puts(version) } unless version =~ /(beta|rc|alpha)/i
|
||||
end
|
||||
|
||||
namespace :releases do
|
||||
|
|
|
@ -1 +1 @@
|
|||
2.5.3
|
||||
2.5.3
|
||||
|
|
Loading…
Reference in New Issue