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/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/bbb324f5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/bbb324f5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/bbb324f5 Branch: refs/heads/master Commit: bbb324f534a5e9db3b9db0c78f79961cbca272c2 Parents: 3c08a7e Author: Alex Heneveld <[email protected]> Authored: Fri Sep 4 14:27:42 2015 +0100 Committer: Alex Heneveld <[email protected]> Committed: Fri Sep 4 14:27:42 2015 +0100 ---------------------------------------------------------------------- release/make-release-artifacts.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/bbb324f5/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}
