1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[core] put changelog in clipboard to finish release

This commit is contained in:
geemus 2011-05-13 14:00:21 -07:00
parent 0ff135b880
commit e0432b6f1c

View file

@ -98,6 +98,7 @@ task :release => :build do
sh "git push origin v#{version}"
sh "gem push pkg/#{name}-#{version}.gem"
Rake::Task[:docs].invoke
Rake::Task[:changelog].invoke
end
task :build => :gemspec do
@ -167,9 +168,8 @@ task :changelog do
changelog << ''
end
for line in changelog
print(line << "\n")
end
`echo "#{changelog.join("\n")}" | pbcopy`
p 'changelog copied to clipboard'
end
task :docs do