Repository: bahir Updated Branches: refs/heads/master 38c15782d -> ba68b3587
[BAHIR-88] Produce distributions without release temp files Project: http://git-wip-us.apache.org/repos/asf/bahir/repo Commit: http://git-wip-us.apache.org/repos/asf/bahir/commit/ba68b358 Tree: http://git-wip-us.apache.org/repos/asf/bahir/tree/ba68b358 Diff: http://git-wip-us.apache.org/repos/asf/bahir/diff/ba68b358 Branch: refs/heads/master Commit: ba68b3587ad4011a093bcaad921035f26907967c Parents: 38c1578 Author: Luciano Resende <[email protected]> Authored: Wed Jun 7 20:13:45 2017 -0700 Committer: Luciano Resende <[email protected]> Committed: Wed Jun 7 20:13:45 2017 -0700 ---------------------------------------------------------------------- dev/release-build.sh | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bahir/blob/ba68b358/dev/release-build.sh ---------------------------------------------------------------------- diff --git a/dev/release-build.sh b/dev/release-build.sh index b207b93..fdb1f37 100755 --- a/dev/release-build.sh +++ b/dev/release-build.sh @@ -254,6 +254,13 @@ if [[ "$RELEASE_PREPARE" == "true" ]]; then if [ -z "$DRY_RUN" ]; then svn co $RELEASE_STAGING_LOCATION svn-bahir mkdir -p svn-bahir/$RELEASE_VERSION-$RELEASE_RC + + cd "$BASE_DIR/target/bahir" + git checkout $RELEASE_TAG + git clean -d -f -x + + $MVN $PUBLISH_PROFILES clean install -DskiptTests -Darguments="-DskipTests" + cp bahir/distribution/target/*.tar.gz svn-bahir/$RELEASE_VERSION-$RELEASE_RC/ cp bahir/distribution/target/*.zip svn-bahir/$RELEASE_VERSION-$RELEASE_RC/
