[java-parent-project-v3] 01/02: JPAR-56 - Log full path rather than filename of artifacts.

Tom Zeller tzeller at dragonacea.biz
Wed Nov 4 19:32:16 EST 2015


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch master
in repository java-parent-project-v3.

commit 75cd6afafdb48316bdb0e6c548eebc597d3318e1
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Wed Nov 4 17:37:15 2015 -0600

    JPAR-56 - Log full path rather than filename of artifacts.
    
    And skip logging .asc files, for use when commenting on the JIRA issue.
---
 bin/upload-nexus-dependencies.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/upload-nexus-dependencies.sh b/bin/upload-nexus-dependencies.sh
index b25ee79..5412033 100755
--- a/bin/upload-nexus-dependencies.sh
+++ b/bin/upload-nexus-dependencies.sh
@@ -137,7 +137,7 @@ if [ $RUN_MAVEN_PLUGIN == "y" ] ; then
 fi
 $ECHO ""
 
-ask y "***3. Upload an artifact ?" UPLOAD_ARTIFACT
+ask y "3. Upload an artifact ?" UPLOAD_ARTIFACT
 if [ $UPLOAD_ARTIFACT == "y" ] ; then
     DEFAULT_ARTIFACT_TO_UPLOAD="org.eclipse.jetty:jetty-distribution:9.3.2.v20150730:tar.gz"
     ask $DEFAULT_ARTIFACT_TO_UPLOAD " Which artifact in form groupId:artifactId:version[:packaging][:classifier] ?" ARTIFACT_TO_UPLOAD
@@ -215,8 +215,8 @@ if [ $MODIFY_NEXUS == "y" ] ; then
     
     ask y "Write files to upload to log file" LOG_UPLOADED_FILES
     if [ $LOG_UPLOADED_FILES == "y" ] ; then
-         $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"
+         $ECHO "$FIND * -type f -print | sort | grep -v "\.asc" > "../uploaded-to-nexus-$(date +%Y-%m-%d_%H-%M-%S).txt""
+         $FIND * -type f -print | sort | grep -v "\.asc"> "../uploaded-to-nexus-$(date +%Y-%m-%d_%H-%M-%S).txt"
     fi
     $ECHO ""
     

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list