@@ -5,7 +5,7 @@ main_module = lib/URI.pm
5
5
copyright_holder = Gisle Aas
6
6
copyright_year = 1998
7
7
8
- [VersionFromMainModule]
8
+ ; for version management, see the end of this file
9
9
10
10
; Gather stuff in
11
11
[Git::GatherDir]
@@ -170,35 +170,24 @@ remote_branch = master
170
170
171
171
; ;; post-release actions
172
172
173
- [CopyFilesFromRelease]
174
- filename = LICENSE
175
-
176
- [NextRelease]
177
- format = %-9v %{yyyy-MM-dd}d
178
-
179
173
[ReadmeAnyFromPod / Markdown_Readme]
180
174
source_filename = lib/URI.pm
181
175
type = markdown
182
176
filename = README.md
183
177
location = root
184
178
phase = release
185
179
186
- [Git::Commit / release snapshot]
187
- allow_dirty = Changes
188
- allow_dirty = LICENSE
189
- allow_dirty = README.md
190
- commit_msg = %N-%v%t%n%n%c
191
-
192
- [Git::Tag]
193
-
194
- [BumpVersionAfterRelease]
195
- :version = 0.016
196
- all_matching = 1
197
-
198
- [Git::Commit / post-release commit]
199
- allow_dirty_match = ^lib/.*\.pm$
200
- commit_msg = increment $VERSION after %v release
201
-
202
- [Git::Push]
180
+ ; the distribution version is read from lib/URI.pm's $VERSION.
181
+ ; at release, all matching versions are bumped.
182
+ ; To change the release version, update *every* .pm file's
183
+ ; $VERSION. You can do this easily with this oneliner (e.g. for 1.70 -> 2.00):
184
+ ; perl -p -i -e's/.VERSION = .\K1.70/2.00/;' `find lib -type f`
185
+ ; (and don't forget to add $VERSION = eval $VERSION; for underscore releases!)
186
+ [@Git::VersionManager]
187
+ :version = 0.003
188
+ bump_only_matching_versions = 1
189
+ commit_files_after_release = LICENSE
190
+ commit_files_after_release = README.md
191
+ release snapshot.commit_msg = %N-%v%t%n%n%c
203
192
204
193
[ConfirmRelease]
0 commit comments