jvanzyl 2004/05/12 08:26:25
Modified: maven-meeper/src/bin deploy-bundle
Log:
o add a little help for those creating upload bundles manually.
Revision Changes Path
1.4 +9 -3 maven-components/maven-meeper/src/bin/deploy-bundle
Index: deploy-bundle
===================================================================
RCS file: /home/cvs/maven-components/maven-meeper/src/bin/deploy-bundle,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- deploy-bundle 10 May 2004 21:11:45 -0000 1.3
+++ deploy-bundle 12 May 2004 15:26:25 -0000 1.4
@@ -58,13 +58,19 @@
echo "artifactId: [${artifactId}]"
echo
- [ ! -f LICENSE.txt ] && echo && echo "Cannot deploy without the LICENSE.txt
file!" && echo && exit
+ LIC=LICENSE.txt
+
+ # A little help for manually created upload bundles
+ [ -f license.txt ] && mv license.txt $LIC
+ [ -f licence.txt ] && mv licence.txt $LIC
+
+ [ ! -f $LIC ] && echo && echo "Cannot deploy without the $LIC file!" && echo &&
exit
cp project.xml ${artifactId}-${version}.pom
- ../d2u LICENSE.txt
+ ../d2u $LIC
- ../deploy-lic LICENSE.txt ${groupId}
+ ../deploy-lic $LIC ${groupId}
../deploy-pom ${artifactId}-${version}.pom ${groupId}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]