Sha256: 630bfa28d5f401a897d43fecb7b4951f384c53990d26093af7b23319f9afa1a0

Contents?: true

Size: 966 Bytes

Versions: 3

Compression:

Stored size: 966 Bytes

Contents

# Copyright (C) 2012  Kouhei Sutou <kou@clear-code.com>
#
# License: GPLv3+, GFDL and/or CC BY-SA 3.0
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# 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/theme"

spec = nil
Rabbit::Task::Theme.new do |task|
  spec = task.spec
end

desc "Tag the current version"
task :tag do
  sh("git", "tag", "-a", "-m", "#{spec.version} released!!!", spec.version.to_s)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rabbit-theme-clear-code-1.0.5 Rakefile
rabbit-theme-clear-code-1.0.4 Rakefile
rabbit-theme-clear-code-1.0.3 Rakefile