You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2019/03/04 11:42:24 UTC

[camel-k] 01/01: Release 0.3.0

This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to tag 0.3.0
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit f29acf7a6ed6776759ed8cdc298895579b04693f
Author: nferraro <ni...@gmail.com>
AuthorDate: Mon Mar 4 12:42:15 2019 +0100

    Release 0.3.0
---
 deploy/operator-deployment-kubernetes.yaml |  2 +-
 deploy/operator-deployment-openshift.yaml  |  2 +-
 pkg/util/defaults/defaults.go              |  2 +-
 script/Makefile                            |  4 ++--
 script/next_snapshot.sh                    | 15 ---------------
 5 files changed, 5 insertions(+), 20 deletions(-)

diff --git a/deploy/operator-deployment-kubernetes.yaml b/deploy/operator-deployment-kubernetes.yaml
index 9ca9403..350cff0 100644
--- a/deploy/operator-deployment-kubernetes.yaml
+++ b/deploy/operator-deployment-kubernetes.yaml
@@ -21,7 +21,7 @@ spec:
       serviceAccountName: camel-k-operator
       containers:
         - name: camel-k-operator
-          image: docker.io/apache/camel-k:0.3.0-SNAPSHOT
+          image: docker.io/apache/camel-k:0.3.0
           ports:
           - containerPort: 60000
             name: metrics
diff --git a/deploy/operator-deployment-openshift.yaml b/deploy/operator-deployment-openshift.yaml
index 9bec031..78fb255 100644
--- a/deploy/operator-deployment-openshift.yaml
+++ b/deploy/operator-deployment-openshift.yaml
@@ -21,7 +21,7 @@ spec:
       serviceAccountName: camel-k-operator
       containers:
         - name: camel-k-operator
-          image: docker.io/apache/camel-k:0.3.0-SNAPSHOT
+          image: docker.io/apache/camel-k:0.3.0
           ports:
           - containerPort: 60000
             name: metrics
diff --git a/pkg/util/defaults/defaults.go b/pkg/util/defaults/defaults.go
index 8796bf4..691644b 100644
--- a/pkg/util/defaults/defaults.go
+++ b/pkg/util/defaults/defaults.go
@@ -6,7 +6,7 @@ package defaults
 
 const (
   // Version -- 
-  Version = "0.3.0-SNAPSHOT"
+  Version = "0.3.0"
 
   // CamelVersionConstraint -- 
   CamelVersionConstraint = "~2.23.x"
diff --git a/script/Makefile b/script/Makefile
index e55c55a..27af6b0 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -1,5 +1,5 @@
 VERSIONFILE := pkg/util/defaults/defaults.go
-VERSION := 0.3.0-SNAPSHOT
+VERSION := 0.3.0
 RUNTIME_VERSION := 0.3.0
 CAMEL_VERSION := 2.23.1
 CAMEL_VERSION_CONSTRAINT := ~2.23.x
@@ -115,7 +115,7 @@ package-artifacts:
 publish-base-images:
 	go run cmd/util/publisher/publisher.go --runtime-version=$(RUNTIME_VERSION)
 
-release: clean build images images-push cross-compile package-examples git-tag
+release: clean codegen set-version build images images-push cross-compile package-examples git-tag
 
 install-minishift:
 	./script/install_minishift.sh
diff --git a/script/next_snapshot.sh b/script/next_snapshot.sh
deleted file mode 100755
index 60b79f8..0000000
--- a/script/next_snapshot.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-set -e
-
-location=$(dirname $0)
-global_version_file=$location/../version/version.go
-
-version=$($location/get_version.sh)
-version_num=$(echo $version | sed -E "s/([0-9.]*)-SNAPSHOT/\1/g")
-next_version_num=$(echo $version_num | awk 'BEGIN { FS = "." } ; {print $1"."$2"."++$3}')
-next_version="$next_version_num-SNAPSHOT"
-
-echo "Increasing version to $next_version"
-
-$location/set_version.sh $next_version