houshengbo closed pull request #194: Update the directory exclusion
URL: https://github.com/apache/incubator-openwhisk-release/pull/194
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/tools/config.json b/tools/config.json
index 076299d..f4e1abd 100644
--- a/tools/config.json
+++ b/tools/config.json
@@ -1,5 +1,5 @@
{
- "publish_stage": "true",
+ "publish_stage": "false",
"stage_url": "https://dist.apache.org/repos/dist/dev/incubator/openwhisk",
"release_url":
"https://dist.apache.org/repos/dist/release/incubator/openwhisk",
"versioning": {
diff --git a/tools/package_source_code.sh b/tools/package_source_code.sh
index 77295d6..8a953ad 100755
--- a/tools/package_source_code.sh
+++ b/tools/package_source_code.sh
@@ -30,7 +30,7 @@ mkdir -p $CURRENT_VERSION_DIR
# Remove bin and build folders
mkdir -p $OPENWHISK_CLEANED_SOURCE_DIR
rm -rf $OPENWHISK_CLEANED_SOURCE_DIR/*
-rsync -rtp --exclude .bin --exclude .jshintrc --exclude .pydevproject
--exclude .rat-excludes --exclude .git* --exclude .travis.yml --exclude bin\*
--exclude build\* --exclude specification\archive\* --exclude
specification\diagrams\* --exclude tests\* $OPENWHISK_SOURCE_DIR/.
$OPENWHISK_CLEANED_SOURCE_DIR
+rsync -rtp --exclude .bin --exclude .jshintrc --exclude .pydevproject
--exclude .rat-excludes --exclude .git* --exclude .travis.yml --exclude bin
--exclude build --exclude specification/archive --exclude
specification/diagrams --exclude tests $OPENWHISK_SOURCE_DIR/.
$OPENWHISK_CLEANED_SOURCE_DIR
for repo in $(echo $repos | sed "s/,/ /g")
do
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services