luislopes Posted September 5, 2013 at 05:05 PM Report #523549 Posted September 5, 2013 at 05:05 PM Boas, estou a fazer um buildfile com Phing para automatizar o deploy com SVN. Tenho um target para fazer o commit, mas o mesmo é feito sempre com a mesma mensagem predefinida, o que gostaria de saber é se existe alguma forma de quando executo esse target eu colocar a frase pretendida para o commit. Fica aqui o código até agora: <svncommit svnpath="${svn_path}" workingcopy="${svn_todir}" message="Actualizado atraves do Phing " /> <echo message="Revisao do Commit numero: ${svn.committedrevision}"/> Ou seja, se for verificar o log no TortoiseSVN, todos os commits estão com a mensagem "Actualizado atraves do Phing"
luislopes Posted September 6, 2013 at 11:01 AM Author Report #523630 Posted September 6, 2013 at 11:01 AM Ja resolvi, fica aí o código: <target name="commit"> <propertyprompt propertyName="commit_message" defaultValue="Actualizado atraves do Phing" promptText="Enter your message" /> <svncommit svnpath="${svn_path}" workingcopy="${svn_todir}" message="${commit_message} " /> <echo message="Revisao do Commit numero: ${svn.committedrevision}"/> </target> 1 Report
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now