Skip to content

Commit

Permalink
Publish SBOM in dist/release - Align to naming conventions for dist.a…
Browse files Browse the repository at this point in the history
…pache.org

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Nov 24, 2023
1 parent 0f08c52 commit eb0da63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion release-utils/scripts/sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions release-utils/scripts/upload-source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit eb0da63

Please sign in to comment.