Commit 9fa1476e authored by Jakub Konečný's avatar Jakub Konečný

added extension for files CHANGELOG and LICENSE

parent 261d645f
Copyright (c) 2015 - 2019, Jakub Konečný
Copyright (c) 2015 - 2020, Jakub Konečný
All rights reserved.
Redistribution and use in source and binary forms, with or without
......
......@@ -23,9 +23,9 @@
</target>
<target name="release">
<input propertyName="version" message="Enter new version number" promptChar=":"/>
<replaceregexp file="CHANGELOG" pattern='Version ([0-9]+\.)+[0-9]+(\+|-)dev' replace='Version ${version}'/>
<replaceregexp file="CHANGELOG.md" pattern='Version ([0-9]+\.)+[0-9]+(\+|-)dev' replace='Version ${version}'/>
<echo message="Written new version number to CHANGELOG."/>
<exec command="git add CHANGELOG" logoutput="true" passthru="true" checkreturn="true"/>
<exec command="git add CHANGELOG.md" logoutput="true" passthru="true" checkreturn="true"/>
<exec command="git commit --message='Version ${version}'" logoutput="true" passthru="true" checkreturn="true"/>
<echo message="Created release commit."/>
<exec command="git tag ${version} --message='Version ${version}' --sign" logoutput="true" passthru="true" checkreturn="true"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment