You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2023/04/03 13:10:27 UTC

[camel-karavan] branch main updated: Fix #704

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

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
     new 8a9b5396 Fix #704
8a9b5396 is described below

commit 8a9b5396e8e8708aa17d40f2c2dc5c0fa124fbae
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Mon Apr 3 09:10:16 2023 -0400

    Fix #704
---
 release-utils/prerelease.sh | 20 ++++++++++++++++++++
 release-utils/release.sh    | 20 ++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/release-utils/prerelease.sh b/release-utils/prerelease.sh
new file mode 100644
index 00000000..74e434ff
--- /dev/null
+++ b/release-utils/prerelease.sh
@@ -0,0 +1,20 @@
+set -e
+
+if [ "$#" -lt 1 ]; then
+    echo "usage: $0 version"
+    exit 1
+fi
+
+location=$(dirname $0)
+version=$1
+
+mkdir $1/
+cd $1/
+
+wget https://github.com/apache/camel-karavan/releases/download/$1/camel-karavan-$1.zip 
+wget https://github.com/apache/camel-karavan/releases/download/$1/camel-karavan-$1.zip.asc 
+wget https://github.com/apache/camel-karavan/releases/download/$1/camel-karavan-$1.zip.sha512
+cd ../
+svn import $1/ https://dist.apache.org/repos/dist/dev/camel/camel-karavan/$1/ -m "Import camel-karavan release"
+
+rm -rf $1/
\ No newline at end of file
diff --git a/release-utils/release.sh b/release-utils/release.sh
new file mode 100644
index 00000000..53391a1d
--- /dev/null
+++ b/release-utils/release.sh
@@ -0,0 +1,20 @@
+set -e
+
+if [ "$#" -lt 1 ]; then
+    echo "usage: $0 version"
+    exit 1
+fi
+
+location=$(dirname $0)
+version=$1
+
+mkdir $1/
+cd $1/
+
+wget https://dist.apache.org/repos/dist/dev/camel/camel-karavan/$1/camel-karavan-$1.zip 
+wget https://dist.apache.org/repos/dist/dev/camel/camel-karavan/$1/camel-karavan-$1.zip.asc 
+wget https://dist.apache.org/repos/dist/dev/camel/camel-karavan/$1/camel-karavan-$1.zip.sha512
+cd ../
+svn import $1/ https://dist.apache.org/repos/dist/release/camel/camel-karavan/$1/ -m "Import camel-karavan release"
+
+rm -rf $1/
\ No newline at end of file