Rakefile in rabbit-slide-rabbit-theme-benchmark-ja-1.0.2 vs Rakefile in rabbit-slide-rabbit-theme-benchmark-ja-1.0.3

- old
+ new

@@ -15,7 +15,19 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. require "rabbit/task/slide" +spec = nil Rabbit::Task::Slide.new do |task| + spec = task.spec +end + +desc "Tag #{spec.version}" +task :tag do + sh("git", "tag", "-a", "-m", "#{spec.version} released!!!", spec.version.to_s) +end + +desc "Release #{spec.version}" +task :release => [:publish, :tag] do + sh("git", "push", "--tags") end