jamesnetherton commented on code in PR #5571:
URL: https://github.com/apache/camel-quarkus/pull/5571#discussion_r1409123614


##########
release-utils/scripts/upload-source.sh:
##########
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+set -e
+
+if [ "$#" -lt 2 ]; then
+    echo "usage: $0 upload-sources release-version destination-version"
+    exit 1
+fi
+
+location=$(dirname $0)
+version=$1
+
+mkdir $1/
+cd $1/
+
+wget https://github.com/apache/camel-quarkus/archive/refs/tags/$1.zip -O 
apache-camel-quarkus-$1-src.zip
+cp ../../../target/apache-camel-quarkus-$1-sbom.json 
apache-camel-quarkus-$1-sbom.json
+cp ../../../target/apache-camel-quarkus-$1-sbom.xml 
apache-camel-quarkus-$1-sbom.xml
+cd ../
+./sign.sh $1/
+svn import $1/ https://dist.apache.org/repos/dist/dev/camel/camel-quarkus/$2/ 
-m "Import camel-kamelets release"

Review Comment:
   ```suggestion
   svn import $1/ 
https://dist.apache.org/repos/dist/dev/camel/camel-quarkus/$2/ -m "Import 
camel-quarkus release"
   ```



##########
release-utils/scripts/upload-source.sh:
##########
@@ -0,0 +1,39 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+set -e
+
+if [ "$#" -lt 2 ]; then
+    echo "usage: $0 upload-sources release-version destination-version"
+    exit 1
+fi
+
+location=$(dirname $0)
+version=$1
+
+mkdir $1/
+cd $1/
+
+wget https://github.com/apache/camel-quarkus/archive/refs/tags/$1.zip -O 
apache-camel-quarkus-$1-src.zip
+cp ../../../target/apache-camel-quarkus-$1-sbom.json 
apache-camel-quarkus-$1-sbom.json

Review Comment:
   I may be wrong about these, but if I look at where the last release 
generated the files I find them at:
   
   ```
   ../../../target/checkout/target/camel-quarkus-3.6.0-sbom.xml
   ../../../target/checkout/target/camel-quarkus-3.6.0-sbom.json
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to