[Groonga-commit] pgroonga/pgroonga at 24f9896 [master] Support specifying version by ENV

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 11 09:10:42 JST 2017


Kouhei Sutou	2017-04-11 09:10:42 +0900 (Tue, 11 Apr 2017)

  New Revision: 24f98969d258ed81069c33ee18c72ca8c28ee52a
  https://github.com/pgroonga/pgroonga/commit/24f98969d258ed81069c33ee18c72ca8c28ee52a

  Message:
    Support specifying version by ENV

  Modified files:
    Rakefile

  Modified: Rakefile (+3 -0)
===================================================================
--- Rakefile    2017-04-11 09:09:32 +0900 (016a7fc)
+++ Rakefile    2017-04-11 09:10:42 +0900 (c115613)
@@ -28,6 +28,9 @@ def control_file(package)
 end
 
 def find_version(package)
+  env_version = ENV["VERSION"]
+  return env_version if env_version
+
   control_content = File.read(control_file(package))
   if /^default_version\s*=\s*'(.+)'$/ =~ control_content
     $1
-------------- next part --------------
HTML����������������������������...
Download 



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