Skip to content

Commit

Permalink
Update build_chroot.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Feb 18, 2024
1 parent 9f6e7c7 commit 6e1513d
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions build_chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,5 @@ echo "push to cloudsmith"
git describe --exact-match HEAD >/dev/null 2>&1
echo "Pushing the package to OpenHD 2.3 repository"
API_KEY=$(cat /opt/additionalFiles/cloudsmith_api_key.txt)
DISTRO=$(cat /opt/additionalFiles/distro.txt)
FLAVOR=$(cat /opt/additionalFiles/flavor.txt)
BOARD=$(cat /opt/additionalFiles/board.txt)

if [ "$BOARD" = "rk3588" ]; then
for file in *.deb; do
mv "$file" "${file%.deb}-rk3588.deb"
done
cloudsmith push deb --api-key "$API_KEY" openhd/dev-release/${DISTRO}/${FLAVOR} *.deb || exit 1
else
for file in *.deb; do
mv "$file" "${file%.deb}-rk3566.deb"
done
cloudsmith push deb --api-key "$API_KEY" openhd/dev-release/${DISTRO}/${FLAVOR} *.deb || exit 1
fi
cloudsmith push deb --api-key "$API_KEY" openhd/dev-release/debian/bullseye *.deb || exit 1

0 comments on commit 6e1513d

Please sign in to comment.