Skip to content

Commit

Permalink
Fix encoding handling in changelog generator
Browse files Browse the repository at this point in the history
  • Loading branch information
cPholloway committed Jun 27, 2024
1 parent ba1b284 commit cebdec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maint/generate_changelog
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/local/cpanel/3rdparty/bin/perl

use cPstrict;
use File::Slurper qw/read_text write_text/;
use File::Slurper qw/read_text write_binary/;

use DateTime ();

Expand Down Expand Up @@ -83,7 +83,7 @@ EOS

my $content = $new_changelog_content . "\n" . read_text($changelog);

write_text( $changelog, $content );
write_binary( $changelog, $content );

print `git diff Changelog.md`;

Expand Down

0 comments on commit cebdec7

Please sign in to comment.