brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject brooklyn-dist git commit: make change-version script run in selected dot files like .mvn
Date Sat, 15 Sep 2018 23:39:56 GMT
Repository: brooklyn-dist
Updated Branches:
  refs/heads/master 3a30944e2 -> eab0701f0


make change-version script run in selected dot files like .mvn


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/commit/eab0701f
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/tree/eab0701f
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/diff/eab0701f

Branch: refs/heads/master
Commit: eab0701f0ab0521c0b777808621c16e928e42783
Parents: 3a30944
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Sun Sep 16 00:39:01 2018 +0100
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Sun Sep 16 00:39:01 2018 +0100

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


http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/eab0701f/release/change-version.sh
----------------------------------------------------------------------
diff --git a/release/change-version.sh b/release/change-version.sh
index 383d9c5..41cd0cd 100755
--- a/release/change-version.sh
+++ b/release/change-version.sh
@@ -51,7 +51,7 @@ NEW_VERSION=$2
 # pass /dev/null as the first file to search in, so the command doesn't fail if find doesn't
match any files;
 # add || true for the case where grep doesn't have matches, so the script doesn't halt
 # If there's an error "Argument list too long" add -n20 to xargs arguments and loop over
$FILE around sed
-FILES=`find . -type d \( -name ignored -or -name target -or -name .?\* \) -prune \
+FILES=`find . -type d \( -name ignored -or -name target -or \( -name .?\* -and -not -name
.mvn \) \) -prune \
        -o -type f -not \( -name \*.log -or -name '*.war' -or -name '*.min.js' -or -name '*.min.css'
-or -name '*.swp' \) -print0 | \
        xargs -0 grep -l "${VERSION_MARKER}\|${VERSION_MARKER_NL}" /dev/null || true`
 


Mime
View raw message