Permalink
Browse files

release task not needed anymore, use github release feature instead

  • Loading branch information...
1 parent 1e7c9e9 commit 411aabc1ca9bd1e78d16bde6f1ecec4f5c822cd4 @tonini committed Jul 20, 2013
Showing with 0 additions and 24 deletions.
  1. +0 −24 Rakefile
View
@@ -1,24 +0,0 @@
-desc "create a new release"
-task 'release' do
- current_version = run('git tag').split(/\n/).last.strip[1..-1]
- puts "What version do you want to release? (current: #{current_version})"
- version = STDIN.gets.strip
- version_tag = "v%s" % version
-
- if run('git tag').split(/\n/).include?(version_tag)
- raise("This tag has already been committed to the repo.")
- end
-
- elixir_mix_contents = File.read('elixir-mix.el')
- File.write('elixir-mix.el', elixir_mix_contents.gsub("Version: #{current_version}", "Version: #{version}"))
-
- run "git commit -a -m \"prepare #{version}\""
-
- run "git tag -a -m \"Version #{version}\" #{version_tag}"
- run "git push origin"
- run "git push origin --tags"
-end
-
-def run(command)
- `#{command}`
-end

0 comments on commit 411aabc

Please sign in to comment.