summaryrefslogtreecommitdiffstats
path: root/tasks/git.rake
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-18 17:19:21 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-18 17:19:21 +0200
commit5dc46fec654ec6ee57334e61005967dc5e557e6c (patch)
treea48524eb060af5d9f2c13ed8f5cf6b763720fc1d /tasks/git.rake
parentcb0ffa6cfd04dfae81bce57fbbe528f719d3efe5 (diff)
downloadedoors-ruby-5dc46fec654ec6ee57334e61005967dc5e557e6c.zip
edoors-ruby-5dc46fec654ec6ee57334e61005967dc5e557e6c.tar.gz
remove rake tasks
Diffstat (limited to 'tasks/git.rake')
-rw-r--r--tasks/git.rake38
1 files changed, 0 insertions, 38 deletions
diff --git a/tasks/git.rake b/tasks/git.rake
deleted file mode 100644
index b219923..0000000
--- a/tasks/git.rake
+++ /dev/null
@@ -1,38 +0,0 @@
-# -*- coding: UTF-8 -*-
-#
-if HAVE_GIT
-
-namespace :git do
-
- # A prerequisites task that all other tasks depend upon
- task :prereqs
-
- desc 'Show tags from the Git repository'
- task :show_tags => 'git:prereqs' do |t|
- puts %x/git tag/
- end
-
- desc 'Create a new tag in the Git repository'
- task :create_tag => 'git:prereqs' do |t|
- v = ENV['VERSION'] or abort 'Must supply VERSION=x.y.z'
- abort "Versions don't match #{v} vs #{PROJ.version}" if v != PROJ.version
- tag = "%s" % [ PROJ.version ]
- msg = "Creating tag for #{PROJ.name} version #{PROJ.version}"
- puts "Creating Git tag '#{tag}'"
- unless system "git tag -a -m '#{msg}' #{tag}"
- abort "Tag creation failed"
- end
-# if %x/git remote/ =~ %r/^origin\s*$/
-# unless system "git push origin #{tag}"
-# abort "Could not push tag to remote Git repository"
-# end
-# end
- end
-
-end # namespace :git
-
-#task 'gem:release' => 'git:create_tag'
-
-end # if HAVE_GIT
-
-# EOF