Skip to content

Commit

Permalink
Use more suitbale name
Browse files Browse the repository at this point in the history
  • Loading branch information
komainu8 committed Dec 3, 2024
1 parent 41511c4 commit 7622017
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
class ReleaseTask
include Rake::DSL

def initialize(package, version, doc_path)
def initialize(package, version, jekyll_path)
@package = package
@version = version
@doc_path = doc_path
@jekyll_path = jekyll_path
end

def define
Expand Down Expand Up @@ -52,7 +52,7 @@ def post(language, package, version)

def blog_posts
["ja", "en"].each do |language|
File.open("#{@doc_path}/#{language}/_posts/#{file_name}", "w") do |blog_post|
File.open("#{@jekyll_path}/#{language}/_posts/#{file_name}", "w") do |blog_post|
blog_post.write(post(language, @package, @version))
end
end
Expand Down

0 comments on commit 7622017

Please sign in to comment.