Skip to content

Commit

Permalink
Update copy
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Jun 18, 2018
1 parent d9cfbe1 commit b23477b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ end
def title_temp_file(issue)
f = Tempfile.open('title')
begin
f.puts '# The iOS Times'
issue_number = File.basename(issue, '.*').split('-').last.to_i
f.puts "## Year #{2015 - Time.now.year + 1} Issue #{issue_number}"
f.puts "# The iOS Times - #{issue_number}"
f.puts "### #{File.basename(issue)[0, 10]}"
ensure
f.close
Expand All @@ -43,7 +42,8 @@ end

desc "Generate the HTML code for the latest issue, and copy it to the clipboar"
task :build => [:update] do
latest = Dir["#{issues_folder}/*.md"].reject { |f| File.basename(f) == "README.md" }.last
latest = Dir["#{issues_folder}/*.md"].reject { |f| File.basename(f) == "README.md" }.sort.last
puts latest
issue = File.open(latest)
temp_issue = stripped_front_matter_temp_file(issue)
temp_title = title_temp_file(issue)
Expand Down
2 changes: 1 addition & 1 deletion header.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

**Your weekly digest with the most interesting Swift and Objective-C project from the past 7 days. Find useful tools, inspiration, projects to contribute to.**
_Your weekly digest full of interesting open source projects in the Apple ecosystem. Find useful tools, inspiration, projects to contribute to._

<!-- Header end -->

0 comments on commit b23477b

Please sign in to comment.