[java-parent-projects COMMIT] /java-parent-project-v3/trunk/bin/upload-nexus-dependencies.sh

noreply at shibboleth.net noreply at shibboleth.net
Tue May 20 21:46:31 EDT 2014


Author: tzeller
Date: Tue May 20 21:46:30 2014
New Revision: 263

URL: http://svn.shibboleth.net/view/java-parent-projects?rev=263&view=rev
Log:
When writing log file of files uploaded to Nexus, include all files instead of just POMs and sort them by name.

Modified:
    java-parent-project-v3/trunk/bin/upload-nexus-dependencies.sh

Modified: java-parent-project-v3/trunk/bin/upload-nexus-dependencies.sh
URL: http://svn.shibboleth.net/view/java-parent-projects/java-parent-project-v3/trunk/bin/upload-nexus-dependencies.sh?rev=263&r1=262&r2=263&view=diff
==============================================================================
--- java-parent-project-v3/trunk/bin/upload-nexus-dependencies.sh (original)
+++ java-parent-project-v3/trunk/bin/upload-nexus-dependencies.sh Tue May 20 21:46:30 2014
@@ -169,8 +169,8 @@
     
     ask y "Write files to upload to log file" LOG_UPLOADED_FILES
     if [ $LOG_UPLOADED_FILES == "y" ] ; then
-         $ECHO "$FIND * -name '*.pom' -fprintf "../uploaded-to-nexus-$(date +%Y-%m-%d_%H-%M-%S).txt" "%f\n""
-         $FIND * -name '*.pom' -fprintf "../uploaded-to-nexus-$(date +%Y-%m-%d_%H-%M-%S).txt" "%f\n"
+         $ECHO "$FIND * -type f -printf "%f\n" | sort > "../uploaded-to-nexus-$(date +%Y-%m-%d_%H-%M-%S).txt""
+         $FIND * -type f -printf "%f\n" | sort > "../uploaded-to-nexus-$(date +%Y-%m-%d_%H-%M-%S).txt"
     fi
     $ECHO ""
     



More information about the commits mailing list