Skip to content

Commit

Permalink
Rakefile: pass in script ID on the commandline rather than via file
Browse files Browse the repository at this point in the history
vimscriptupload.rb will choke if we try to pass the script ID in through
the configuration file, because when the Yaml file is read back in, the
"id" key appears as a symbol rather than a string, and it is looking for
a string only.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
  • Loading branch information
wincent committed Mar 27, 2011
1 parent 69f9726 commit c0eda02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,11 @@ namespace :upload do
prepare_release_notes
conf = {
:file => "command-t-#{version}.vba",
:id => 3025,
:message => read_release_notes.chomp,
:version => version
}
File.open('.vim_org.yml', 'w') { |f| f.print conf.to_yaml }
sh "vendor/vimscriptuploader/vimscriptuploader.rb --config ~/.vim_org.yml .vim_org.yml"
sh "vendor/vimscriptuploader/vimscriptuploader.rb --id 3025 --config ~/.vim_org.yml .vim_org.yml"
end

desc 'Upload current vimball everywhere'
Expand Down

0 comments on commit c0eda02

Please sign in to comment.