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 8, 2024
1 parent 6e8ac8f commit bc2d36e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build_chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ DISTRO=$(cat ../../../distro.txt)
FLAVOR=$(cat ../../../flavor.txt)
BOARD=$(cat ../../../board.txt)

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

0 comments on commit bc2d36e

Please sign in to comment.