Create git Branch/Tag via ANT script -
i'um using ant scripts build jar files version. there oportunity create tag/branch in git repository in ant script?
you can use rimerosolutions/ant-git-tasks common git tasks in ant.
that include creating branch:
<git:git directory="repositoryclonefolder" verbose="true" settingsref="git.testing"> <git:clone uri="https://github.com/rimerosolutions/playground-repo.git"/> <git:checkout branchname="dummybranch" createbranch="true"/> </git:git>
or creating tag:
<git:git directory="${testlocalrepo}" verbose="true"> <git:tag name="${dummy.tag.name}"/> </git:git>
Comments
Post a Comment