Sha256: ea11d5bb6d5ce2d78ce4a2087d5bdd725a99da5da8587fa94afc92b35993c829

Contents?: true

Size: 555 Bytes

Versions: 1

Compression:

Stored size: 555 Bytes

Contents

require "bundler/gem_tasks"

desc 'vup'
task :vup do
        version = ENV['VERSION']
        File.open('lib/ncf/version.rb', 'w') do |f|
                f.write <<-EOF
module Ncf
        VERSION = "#{version}"
end
                EOF
        end
        system "git add lib/ncf/version.rb"
        system "git tag v#{version} -m v#{version}"
        system "git commit -m 'version up to #{version}'"
        system "git push origin master"
        system "git push --tags"
        system "rake build"
        system "gem push pkg/ncf-#{version}.gem"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ncf-0.0.2 Rakefile