This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push: new d684821a Publish SBOM in dist/release - Align to naming conventions for dist.apache.org (#1752) d684821a is described below commit d684821a90966d0804464f6faa470229fbfee6ce Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Nov 24 13:48:06 2023 +0100 Publish SBOM in dist/release - Align to naming conventions for dist.apache.org (#1752) Signed-off-by: Andrea Cosentino <anco...@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"