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

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -