Skip to content

Commit

Permalink
fix bug in cordova changelog logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Brateman committed Sep 7, 2016
1 parent 2643f6b commit 7ea0120
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .releasinator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ def add_new_line (filepath, location, new_content)
def update_release_notes(new_version)
current_changelog = @current_release.changelog.dup
add_new_line("CHANGELOG.md", "===================================", "TODO\n")
add_new_line("CHANGELOG.md", "TODO", "-----\n")
add_new_line("CHANGELOG.md", "-----", (current_changelog.gsub! /^\*/,'* Android:')+"\n\n")
add_new_line("CHANGELOG.md", "===================================", "TODO\n-----\n" + (current_changelog.gsub! /^\*/,'* Android:')+"\n\n")
end
def compile_sample_app()
Expand Down

0 comments on commit 7ea0120

Please sign in to comment.