[Groonga-commit] groonga/heroku-buildpack-groonga at 2650d29 [master] Use latest_tag_name instead of latest_version

Back to archive index

Ryo Sugimoto null+****@clear*****
Sun Aug 10 12:50:51 JST 2014


Ryo Sugimoto	2014-08-10 12:50:51 +0900 (Sun, 10 Aug 2014)

  New Revision: 2650d29c6b35a06b482293ad1052e2928c2e408a
  https://github.com/groonga/heroku-buildpack-groonga/commit/2650d29c6b35a06b482293ad1052e2928c2e408a

  Message:
    Use latest_tag_name instead of latest_version

  Modified files:
    bin/compile

  Modified: bin/compile (+3 -3)
===================================================================
--- bin/compile    2014-08-09 09:54:48 +0900 (930172d)
+++ bin/compile    2014-08-10 12:50:51 +0900 (9c11f50)
@@ -19,11 +19,11 @@ def detect_latest_version
   end
   begin
     releases[0]["assets"][0]["name"]
-    latest_version = releases[0]["tag_name"]
+    latest_tag_name = releases[0]["tag_name"]
   rescue
-    latest_version = releases[1]["tag_name"]
+    latest_tag_name = releases[1]["tag_name"]
   end
-  latest_version.sub(/\Av/, "")
+  latest_tag_name.sub(/\Av/, "")
 end
 
 def sh(*command_line)
-------------- next part --------------
HTML����������������������������...
Télécharger 



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