Permalink
Browse files

Removed unneeded deploy tasks

  • Loading branch information...
1 parent 4118cc9 commit 6d261cdd870bc71926055b6d156fda1b127b3698 Ian Baker & Sheel Choksi committed Mar 6, 2013
Showing with 2 additions and 41 deletions.
  1. +2 −41 Rakefile
View
@@ -8,44 +8,5 @@ CURRENT_VERSION = SPEC.version.to_s.freeze
RSpec::Core::RakeTask.new(:spec)
task :default => :spec
-namespace :deploy do
- def last_staging_sha
- `git rev-parse latest-staging`.strip
- end
-
- def last_release_sha
- `git rev-parse latest-release`.strip
- end
-
- def last_staging_ref_was_released?
- last_staging_sha == last_release_sha
- end
-
- def next_minor
- Gem::Version.new(CURRENT_VERSION + ".0").bump.to_s
- end
-
- def next_rc
- unless CURRENT_VERSION =~ /rc/
- "#{next_minor}.rc1"
- end
- end
-
- task :staging, :version do |_, args|
- version = args.version || next_rc
- sh "gem bump --push #{"--version #{version}" if version}" if last_staging_ref_was_released?
- sh "git tag -f latest-staging"
- sh "git push origin :latest-staging"
- sh "git push origin latest-staging"
- end
-
- task :candidate do
- sh "git fetch"
- sh "git checkout latest-staging"
- sh "gem release"
- sh "git tag -f v#{CURRENT_VERSION}"
- sh "git tag -f latest-release"
- sh "git push origin :latest-release"
- sh "git push origin latest-release"
- end
-end
+# looking for a way to push gems? check out the new frontend-release git repo!
+# git@github.com:pivotal-vmware/frontend-release.git

0 comments on commit 6d261cd

Please sign in to comment.