Ryo Sugimoto
null+****@clear*****
Tue Aug 5 07:55:39 JST 2014
Ryo Sugimoto 2014-08-05 07:55:39 +0900 (Tue, 05 Aug 2014) New Revision: 11ea22a2ff6a5a81ce363463b3b0ea4378985021 https://github.com/groonga/heroku-buildpack-groonga/commit/11ea22a2ff6a5a81ce363463b3b0ea4378985021 Message: Add a detect_latest_version Modified files: bin/compile Modified: bin/compile (+6 -0) =================================================================== --- bin/compile 2014-07-30 18:55:31 +0900 (cdbcde7) +++ bin/compile 2014-08-05 07:55:39 +0900 (7f3c296) @@ -11,6 +11,12 @@ build_dir, cache_dir, env_dir, = ARGV version = "4.0.4" database_path = "groonga/database" +def detect_latest_version + client = Octokit::Client.new + tags = client.tags(github_groonga_repository) + tags[0].name.delete("v") +end + def sh(*command_line) puts(command_line.join(" ")) system(*command_line) or exit(false) -------------- next part -------------- HTML����������������������������... Download