Skip to content

Commit

Permalink
Bug fix. #109 regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswsinc committed Jul 7, 2016
1 parent a575d24 commit d9558ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/psr4/targets/builds/in-base-dir/version-tokens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
</fileSet>
<filterChain>
<replaceRegExp>
<regExp pattern="^(\s*\*\s+@since\s+)(?:\$v|[0-9]{2}[xX]{4})(\s|$)" replace="$1${project_version}$2" modifiers="um" />
<!-- WARNING: Very important for `$1 ${project_versoin}` to have that space. Otherwise the version becomes a part of the replacement code. -->
<regExp pattern="^(\s*\*\s+@since)\s+(?:\$v|[0-9]{2}[xX]{4})(\s|$)" replace="$1 ${project_version}$2" modifiers="um" />
</replaceRegExp>
</filterChain>
</reflexive>
Expand Down

0 comments on commit d9558ee

Please sign in to comment.