Repository: cassandra-builds
Updated Branches:
  refs/heads/master fb5df10b6 -> 678c9c157


Find files modified less than 10 days ago for bintray upload


Project: http://git-wip-us.apache.org/repos/asf/cassandra-builds/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-builds/commit/678c9c15
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-builds/tree/678c9c15
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-builds/diff/678c9c15

Branch: refs/heads/master
Commit: 678c9c157088b2ff47e25a1e85b580eb9e8891d2
Parents: fb5df10
Author: Michael Shuler <[email protected]>
Authored: Wed Jun 20 13:53:23 2018 -0500
Committer: Michael Shuler <[email protected]>
Committed: Wed Jun 20 13:53:23 2018 -0500

----------------------------------------------------------------------
 cassandra-release/upload_bintray.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-builds/blob/678c9c15/cassandra-release/upload_bintray.sh
----------------------------------------------------------------------
diff --git a/cassandra-release/upload_bintray.sh 
b/cassandra-release/upload_bintray.sh
index 151eb71..f985a07 100755
--- a/cassandra-release/upload_bintray.sh
+++ b/cassandra-release/upload_bintray.sh
@@ -9,7 +9,7 @@ BINTRAY_KEY="XXXXXXXX"
 ROOTDIR=`cd -P -- "$(dirname -- "$1")" && printf '%s\n' "$(pwd -P)/$(basename 
-- "$1")"`
 ROOTLEN=$(( ${#ROOTDIR} + 1))
 
-for i in $(find ${ROOTDIR} -type f -printf "%T@ %p\n" | sort -n -r | cut -d' ' 
-f 2); do
+for i in $(find ${ROOTDIR} -type f -mtime -10 -printf "%T@ %p\n" | sort -n -r 
| cut -d' ' -f 2); do
        IFILE=`echo $(basename -- "$i") | cut -c 1`
     if [[ $IFILE != "." ]]; 
     then


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to