Skip to content

Commit 2af2cc6

Browse files
committed
v0.05
- The update_file method will replace the content in an existing file rather than creating a new one. A backup of the original file is made while the new content is being written, in the unlikely event of an error during content replacement. The backup will be removed if the replacement succeeds. A new file will be created if one does not exist, as before. (gh#6)
1 parent d9dd035 commit 2af2cc6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Changes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Revision history for {{$dist->name}}
22

33
{{$NEXT}}
4+
5+
0.05 2025-11-26 10:01:48 -0700
46
- The update_file method will replace the content in an existing file
57
rather than creating a new one. A backup of the original file is
68
made while the new content is being written, in the unlikely event

dist.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author = Graham Ollis <[email protected]>
33
license = Perl_5
44
copyright_holder = Graham Ollis
55
copyright_year = 2024
6-
version = 0.04
6+
version = 0.05
77

88
; authordep Dist::Zilla::Plugin::InsertExample
99

0 commit comments

Comments
 (0)