You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/11/24 12:47:40 UTC

(camel-kamelets) branch better-upload-sources created (now eb0da63e)

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

acosentino pushed a change to branch better-upload-sources
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


      at eb0da63e Publish SBOM in dist/release - Align to naming conventions for dist.apache.org

This branch includes the following new commits:

     new eb0da63e Publish SBOM in dist/release - Align to naming conventions for dist.apache.org

The 1 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.



(camel-kamelets) 01/01: Publish SBOM in dist/release - Align to naming conventions for dist.apache.org

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch better-upload-sources
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit eb0da63e6120688d2dc5b6e8b6e1899611e82e6b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Nov 24 13:46:50 2023 +0100

    Publish SBOM in dist/release - Align to naming conventions for dist.apache.org
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 release-utils/scripts/sign.sh          | 2 +-
 release-utils/scripts/upload-source.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/release-utils/scripts/sign.sh b/release-utils/scripts/sign.sh
index cdd8b47b..7aafd104 100755
--- a/release-utils/scripts/sign.sh
+++ b/release-utils/scripts/sign.sh
@@ -26,7 +26,7 @@ dir=$1
 
 pushd . && cd $dir
 
-for f in $(ls | grep -e ".*tar.gz$");
+for f in $(ls);
 do
     sha512sum -b $f > $f.sha512
     gpg --output $f.asc --armor --detach-sig $f
diff --git a/release-utils/scripts/upload-source.sh b/release-utils/scripts/upload-source.sh
index beae1bb0..51b158f7 100755
--- a/release-utils/scripts/upload-source.sh
+++ b/release-utils/scripts/upload-source.sh
@@ -29,8 +29,8 @@ mkdir $1/
 cd $1/
 
 wget https://github.com/apache/camel-kamelets/archive/refs/tags/v$1.tar.gz -O camel-kamelets-sources-$1.tar.gz
-cp ./target/camel-kamelets-parent-$1-cyclonedx.json camel-kamelets-$1-sbom.json
-cp ./target/camel-kamelets-parent-$1-cyclonedx.xml camel-kamelets-$1-sbom.xml
+cp ../../../target/camel-kamelets-$1.json camel-kamelets-$1-sbom.json
+cp ../../../target/camel-kamelets-$1.xml camel-kamelets-$1-sbom.xml
 cd ../
 ./sign.sh $1/
 svn import $1/ https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/$2/ -m "Import camel-kamelets release"