<target name="deploy-frapi-custom-master" 
 description="Deploys the FRAPI custom directory from 
  master after merging dev to master and tagging build">
  <gitclone
    gitPath="${git.path}"
    repository="${git.frapi-custom.url}"
    targetpath="${build.path.temp}" />
  <gitmerge
    gitPath="${git.path}"
    repository="${build.path.temp}"
    remote="${git.frapi-custom.dev-branch}"
    message="merging dev for production release" 
    commit="true" />
  <gittag
    gitPath="${git.path}"
    repository="${build.path.temp}"
    name="${build.time}"
    message="tagging build ${build.time} for production" />
  <gitpush
    gitPath="${git.path}"
    repository="${build.path.temp}"
    refspec="master" 
    tags="true" />
  <move overwrite="true"
    todir="${frapi.path.deploy}"
    file="${build.path.temp}/custom" />
  <delete 
    includeemptydirs="true" 
    dir="${build.path.temp}/"/>
</target>
