From 8ecce755b9dfe2dd9bf75b181207cde209a8fb30 Mon Sep 17 00:00:00 2001 From: Graham Paye Date: Wed, 6 Nov 2019 18:46:59 -0800 Subject: [PATCH] chore: fix link_checker require path (#844) * fix link_checker require path * add v to version --- Rakefile | 2 +- rakelib/devsite/devsite_builder.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index fb9588500..1af25898d 100644 --- a/Rakefile +++ b/Rakefile @@ -71,7 +71,7 @@ namespace :kokoro do end task :post do - require_relative "rakelib/link_checker.rb" + require_relative "rakelib/devsite/link_checker.rb" link_checker = LinkChecker.new link_checker.run diff --git a/rakelib/devsite/devsite_builder.rb b/rakelib/devsite/devsite_builder.rb index c174166f6..61c23a4b2 100644 --- a/rakelib/devsite/devsite_builder.rb +++ b/rakelib/devsite/devsite_builder.rb @@ -70,7 +70,7 @@ class DevsiteBuilder @metadata ||= RepoMetadata.from_source "name" => "google-api-client", "distribution-name" => "google-api-client", "language" => "ruby" - @metadata["version"] = version @build_tag + @metadata["version"] = "v#{version @build_tag}" @metadata end