Re: Making sure the tag name matches the version in a POM
From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Fri, 6 Mar 2009 04:14:52 -0600
On Mar 5, 2009, at 13:07, webpost_at_tigris.org wrote:
> I am using Maven to management my builds and I would like to create
Yes, that's the way I'd do it. Begin your pre-commit hook with
REPO="$1"
Then use
svnlook changed -t $TXN $REPO
to see the list of files that have changed. Continue with the
Since you require the pom.xml file, you could check that the pom.xml
Now use
svnlook cat -t $TXN $REPO tags/tagname/pom.xml > /tmp/pom.xml
to get the contents of the pom.xml file into a temporary file.
> I could probably create a post-commit trigger that finds the
Yes, that sounds bad to me too. :) Go with the pre-commit.
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.