Sha256: 1704365bbefe84b96b8abce89c67b99be82aba547ca85d165ee6e15d99385ea3

Contents?: true

Size: 644 Bytes

Versions: 4

Compression:

Stored size: 644 Bytes

Contents

require_relative '../git-version-bump'

namespace :version do
	namespace :bump do
   	desc "bump major version (x.y.z -> x+1.0.0)"
   	task :major do
			GVB.tag_version "#{GVB.major_version + 1}.0.0"

			puts "Version is now #{GVB.version}"
		end
		
   	desc "bump minor version (x.y.z -> x.y+1.0)"
   	task :minor do
			GVB.tag_version "#{GVB.major_version}.#{GVB.minor_version+1}.0"

			puts "Version is now #{GVB.version}"
		end
		
    	desc "bump patch version (x.y.z -> x.y.z+1)"
		task :patch do
			GVB.tag_version "#{GVB.major_version}.#{GVB.minor_version}.#{GVB.patch_version+1}"

			puts "Version is now #{GVB.version}"
		end
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
git-version-bump-0.3.1 lib/git-version-bump/rake-tasks.rb
git-version-bump-0.3.0 lib/git-version-bump/rake-tasks.rb
git-version-bump-0.2.0 lib/git-version-bump/rake-tasks.rb
git-version-bump-0.1.0 lib/git-version-bump/rake-tasks.rb