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 2020/08/05 12:14:29 UTC

[camel-k] branch master updated: chore(release): create additional tags for go modules

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

nferraro 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 fa33423  chore(release): create additional tags for go modules
fa33423 is described below

commit fa33423d1ec9a6c537fbf4d49bd72efe10225351
Author: nicolaferraro <ni...@gmail.com>
AuthorDate: Wed Aug 5 11:13:11 2020 +0200

    chore(release): create additional tags for go modules
---
 script/git_tag.sh | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/script/git_tag.sh b/script/git_tag.sh
index b3ac3b8..dbc26cb 100755
--- a/script/git_tag.sh
+++ b/script/git_tag.sh
@@ -32,7 +32,17 @@ git branch -D ${target_staging} || true
 git checkout -b ${target_staging}
 git add * || true
 git commit -a -m "Release ${target_version}"
+
 git tag --force ${target_tag} ${target_staging}
 git push --force ${target_remote} ${target_tag}
+echo "Tag ${target_tag} pushed to ${target_remote}"
+
+api_tag="/pkg/apis/camel/$target_tag"
+git tag --force ${api_tag} ${target_staging}
+git push --force ${target_remote} ${api_tag}
+echo "Tag ${api_tag} pushed to ${target_remote}"
 
-echo "Tag ${target_tag} pushed ${target_remote}"
+client_tag="/pkg/client/camel/$target_tag"
+git tag --force ${client_tag} ${target_staging}
+git push --force ${target_remote} ${client_tag}
+echo "Tag ${client_tag} pushed to ${target_remote}"