Sha256: 58b8a9526614824cb9fc6bad82152d8a5ed059a26297242f765f09a841ceb83a

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

#!/usr/bin/env rake

require File.expand_path('../lib/credly/version', __FILE__)

desc "Build"
task "build" do
  system("gem build credly.gemspec")
end

desc "Build and publish the gem"
task :publish => :build do
  tags = `git tag`
  system("git tag #{Credly::VERSION}") unless tags =~ /#{Credly::VERSION}/
  system("gem push credly-#{Credly::VERSION}.gem")
  system("git push --tags")
end

task :release => :publish do
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
credly-0.0.1 Rakefile