[Groonga-commit] ranguba/chupa-text-http-server at c8b807b [master] Add release task

Back to archive index
Kouhei Sutou null+****@clear*****
Thu Mar 28 17:09:55 JST 2019


Kouhei Sutou	2019-03-28 17:09:55 +0900 (Thu, 28 Mar 2019)

  Revision: c8b807b39f51fed54dc29a8c52e2d4a109e9e34b
  https://github.com/ranguba/chupa-text-http-server/commit/c8b807b39f51fed54dc29a8c52e2d4a109e9e34b

  Message:
    Add release task

  Added files:
    lib/chupa_text_http_server/version.rb
    lib/tasks/release.rake

  Added: lib/chupa_text_http_server/version.rb (+3 -0) 100644
===================================================================
--- /dev/null
+++ lib/chupa_text_http_server/version.rb    2019-03-28 17:09:55 +0900 (44658d0)
@@ -0,0 +1,3 @@
+module ChupaTextHttpServer
+  VERSION = "1.0.0"
+end

  Added: lib/tasks/release.rake (+12 -0) 100644
===================================================================
--- /dev/null
+++ lib/tasks/release.rake    2019-03-28 17:09:55 +0900 (420224c)
@@ -0,0 +1,12 @@
+require "chupa_text_http_server/version"
+
+desc "Tag #{ChupaTextHttpServer::VERSION}"
+task :tag do
+  sh("git", "tag",
+     "-a", ChupaTextHttpServer::VERSION,
+     "-m", "#{ChupaTextHttpServer::VERSION} has been released!!!")
+  sh("git", "push", "--tags")
+end
+
+desc "Release #{ChupaTextHttpServer::VERSION}"
+task :release => :tag
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190328/bca14685/attachment.html>


More information about the Groonga-commit mailing list
Back to archive index