You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/02/01 18:43:24 UTC

[8/8] brooklyn-dist git commit: reinstate jar exclusion, with comments

reinstate jar exclusion, with comments

these mustn't be included (and tests which want them are skipped if they aren't present)


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

Branch: refs/heads/0.8.0-incubating
Commit: c31eee613566550156339fcfb56e6aa416ad9ba7
Parents: 4ab4562
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Fri Sep 4 14:27:42 2015 +0100
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Fri Sep 4 14:33:52 2015 +0100

----------------------------------------------------------------------
 release/make-release-artifacts.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/c31eee61/release/make-release-artifacts.sh
----------------------------------------------------------------------
diff --git a/release/make-release-artifacts.sh b/release/make-release-artifacts.sh
index a9184f3..476a6e3 100755
--- a/release/make-release-artifacts.sh
+++ b/release/make-release-artifacts.sh
@@ -173,7 +173,13 @@ echo "Creating source release folder ${release_name}"
 set -x
 mkdir -p ${src_staging_dir}
 mkdir -p ${bin_staging_dir}
-rsync -rtp --exclude .git\* --exclude docs/ --exclude sandbox/ --exclude release/ . ${staging_dir}/${release_name}-src
+# exclude: 
+# * docs (which isn't part of the release, and adding license headers to js files is cumbersome)
+# * sandbox (which hasn't been vetted so thoroughly)
+# * release (where this is running, and people who *have* the release don't need to make it)
+# * jars and friends (these are sometimes included for tests, but those are marked as skippable,
+#     and apache convention does not allow them in source builds; see PR #365
+rsync -rtp --exclude .git\* --exclude docs/ --exclude sandbox/ --exclude release/ --exclude '**/*.[ejw]ar' . ${staging_dir}/${release_name}-src
 
 rm -rf ${artifact_dir}
 mkdir -p ${artifact_dir}