lib/vamper/default.version.config in code_tools-4.0.0 vs lib/vamper/default.version.config in code_tools-4.1.0
- old
+ new
@@ -1,7 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<VersionConfig>
<FileType>
+ <Name>Ruby Files</Name>
+ <FileSpec>*.rb</FileSpec>
+ <Update>
+ <Search>(?'Before'\$VERSION=\')([0-9]+\.[0-9]+\.[0-9]+)-[0-9]+\.[0-9]+(?'After'\')</Search>
+ <Replace>${Before}${Major}.${Minor}.${Patch}-${Build}.${Revision}${After}</Replace>
+ </Update>
+ </FileType>
+ <FileType>
<Name>Version-in-a-text-file</Name>
<FileSpec>*.version.txt</FileSpec>
<Write>Release ${Major}.${Minor}.${Build}.${Revision}</Write>
</FileType>
<FileType>