[camel-k] tag 0.0.1 updated (513a7b4 -> 6983986)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[camel-k] tag 0.0.1 updated (513a7b4 -> 6983986)

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

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


*** WARNING: tag 0.0.1 was modified! ***

    from 513a7b4  (commit)
      to 6983986  (commit)
 discard 513a7b4  Release 0.0.1
     new e0a081c  Fix release scripts
     new f19e4da  Fix version detection during release
     new 6983986  Release 0.0.1

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
tag are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (513a7b4)
            \
             N -- N -- N   refs/tags/0.0.1 (6983986)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 build/Makefile                  | 6 ++----
 build/images_build.sh           | 6 ++++++
 build/images_push.sh            | 6 ++++++
 build/prepare_release.sh        | 1 +
 deploy/operator-deployment.yaml | 2 +-
 deploy/resources.go             | 2 +-
 6 files changed, 17 insertions(+), 6 deletions(-)
 create mode 100755 build/images_build.sh
 create mode 100755 build/images_push.sh

Reply | Threaded
Open this post in threaded view
|

[camel-k] 01/03: Fix release scripts

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

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

commit e0a081c98818470a7a07828d0561fc760091e62c
Author: nferraro <[hidden email]>
AuthorDate: Thu Sep 13 17:58:50 2018 +0200

    Fix release scripts
---
 build/prepare_release.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/build/prepare_release.sh b/build/prepare_release.sh
index cd8894c..b9d5881 100755
--- a/build/prepare_release.sh
+++ b/build/prepare_release.sh
@@ -7,6 +7,7 @@ global_version_file=$location/../version/version.go
 
 # Set the new global version by removing "-SNAPSHOT"
 sed -i "s/-SNAPSHOT//g" $global_version_file
+find $location/../deploy -type f -exec sed -i "s/-SNAPSHOT//g" {} \;
 
 # Get the new version
 version=$($location/get_version.sh)

Reply | Threaded
Open this post in threaded view
|

[camel-k] 02/03: Fix version detection during release

nferraro
In reply to this post by nferraro
This is an automated email from the ASF dual-hosted git repository.

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

commit f19e4daec7415c2a998dd37ac488b96926ddca04
Author: nferraro <[hidden email]>
AuthorDate: Thu Sep 13 18:34:10 2018 +0200

    Fix version detection during release
---
 build/Makefile        | 6 ++----
 build/images_build.sh | 6 ++++++
 build/images_push.sh  | 6 ++++++
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/build/Makefile b/build/Makefile
index 335b9c0..28c52a3 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -1,5 +1,3 @@
-VERSION := $(shell ./build/get_version.sh)
-
 build: build-runtime build-operator build-kamel test
 
 build-operator: build-embed-resources
@@ -41,10 +39,10 @@ codegen:
 images: images-build
 
 images-build:
- ./build/package_maven_artifacts.sh && operator-sdk build docker.io/apache/camel-k:$(VERSION)
+ ./build/images_build.sh
 
 images-push:
- docker push docker.io/apache/camel-k:$(VERSION)
+ ./build/images_push.sh
 
 test: check
 check:
diff --git a/build/images_build.sh b/build/images_build.sh
new file mode 100755
index 0000000..7aefdc2
--- /dev/null
+++ b/build/images_build.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+location=$(dirname $0)
+version=$($location/get_version.sh)
+
+$location/package_maven_artifacts.sh && operator-sdk build docker.io/apache/camel-k:$version
\ No newline at end of file
diff --git a/build/images_push.sh b/build/images_push.sh
new file mode 100755
index 0000000..2b7eab9
--- /dev/null
+++ b/build/images_push.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+location=$(dirname $0)
+version=$($location/get_version.sh)
+
+docker push docker.io/apache/camel-k:$version
\ No newline at end of file

Reply | Threaded
Open this post in threaded view
|

[camel-k] 03/03: Release 0.0.1

nferraro
In reply to this post by nferraro
This is an automated email from the ASF dual-hosted git repository.

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

commit 69839860f057ad718d57528018c1113f7096f6cd
Author: nferraro <[hidden email]>
AuthorDate: Thu Sep 13 19:07:04 2018 +0200

    Release 0.0.1
---
 deploy/operator-deployment.yaml | 2 +-
 deploy/resources.go             | 2 +-
 runtime/jvm/pom.xml             | 2 +-
 runtime/pom.xml                 | 2 +-
 version/version.go              | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/deploy/operator-deployment.yaml b/deploy/operator-deployment.yaml
index 265b76d..df67a73 100644
--- a/deploy/operator-deployment.yaml
+++ b/deploy/operator-deployment.yaml
@@ -17,7 +17,7 @@ spec:
       serviceAccountName: camel-k-operator
       containers:
         - name: camel-k-operator
-          image: docker.io/apache/camel-k:0.0.1-SNAPSHOT
+          image: docker.io/apache/camel-k:0.0.1
           ports:
           - containerPort: 60000
             name: metrics
diff --git a/deploy/resources.go b/deploy/resources.go
index c0b8bbf..725558c 100644
--- a/deploy/resources.go
+++ b/deploy/resources.go
@@ -113,7 +113,7 @@ spec:
       serviceAccountName: camel-k-operator
       containers:
         - name: camel-k-operator
-          image: docker.io/apache/camel-k:0.0.1-SNAPSHOT
+          image: docker.io/apache/camel-k:0.0.1
           ports:
           - containerPort: 60000
             name: metrics
diff --git a/runtime/jvm/pom.xml b/runtime/jvm/pom.xml
index 1aeb457..93347db 100644
--- a/runtime/jvm/pom.xml
+++ b/runtime/jvm/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <groupId>org.apache.camel.k</groupId>
         <artifactId>camel-k-runtime-parent</artifactId>
-        <version>0.0.1-SNAPSHOT</version>
+        <version>0.0.1</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/runtime/pom.xml b/runtime/pom.xml
index fb7cd42..3f17431 100644
--- a/runtime/pom.xml
+++ b/runtime/pom.xml
@@ -6,7 +6,7 @@
 
     <groupId>org.apache.camel.k</groupId>
     <artifactId>camel-k-runtime-parent</artifactId>
-    <version>0.0.1-SNAPSHOT</version>
+    <version>0.0.1</version>
     <packaging>pom</packaging>
 
     <properties>
diff --git a/version/version.go b/version/version.go
index f656e8a..a1df73c 100644
--- a/version/version.go
+++ b/version/version.go
@@ -20,5 +20,5 @@ package version
 
 var (
  // Global Camel K Version
- Version = "0.0.1-SNAPSHOT"
+ Version = "0.0.1"
 )