This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push: new 57dd09f chore(release): package examples to publish them during release 57dd09f is described below commit 57dd09f89ba535de2fa8acb4607b50cb4091df69 Author: nferraro <ni.ferr...@gmail.com> AuthorDate: Fri Dec 14 12:28:32 2018 +0100 chore(release): package examples to publish them during release --- build/Makefile | 7 +++++-- build/package_examples.sh | 8 ++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/build/Makefile b/build/Makefile index e25da7c..0cdf73c 100644 --- a/build/Makefile +++ b/build/Makefile @@ -17,7 +17,7 @@ build-compile-integration-tests: build-runtime: ./mvnw clean install -f ./runtime/pom.xml -release: clean prepare-release build images-build images-push cross-compile git-tag +release: clean prepare-release build images-build images-push cross-compile package-examples git-tag prepare-release: ./build/prepare_release.sh @@ -30,6 +30,9 @@ increment-snapshot: cross-compile: ./build/cross_compile.sh +package-examples: + ./build/package_examples.sh + git-tag: ./build/git_tag.sh @@ -75,4 +78,4 @@ check-integration: lint: golangci-lint run -.PHONY: build build-operator build-kamel build-embed-resources build-runtime dep codegen images images-build images-push test check test-integration check-integration clean release prepare-release cross-compile new-version git-tag increment-snapshot install-minishift +.PHONY: build build-operator build-kamel build-embed-resources build-runtime dep codegen images images-build images-push test check test-integration check-integration clean release prepare-release cross-compile package-examples new-version git-tag increment-snapshot install-minishift diff --git a/build/package_examples.sh b/build/package_examples.sh new file mode 100755 index 0000000..adef3dd --- /dev/null +++ b/build/package_examples.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +location=$(dirname $0) +rootdir=$(realpath $location/../) + +version=$($location/get_version.sh) + +tar -zcvf $rootdir/camel-k-examples-$version.tar.gz examples