1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-02 02:22:06 -04:00

refactor: update PPA upload script to handle series selection

This commit is contained in:
purian23
2026-04-25 19:56:58 -04:00
parent 441ec42ee0
commit 28f68ac702

View File

@@ -235,19 +235,18 @@ jobs:
;; ;;
esac esac
for SERIES in questing resolute; do echo ""
echo "" echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" echo "Uploading $PKG to PPA $PPA_NAME..."
echo "Uploading $PKG to PPA $PPA_NAME for series $SERIES..." if [[ -n "$REBUILD_RELEASE" ]]; then
if [[ -n "$REBUILD_RELEASE" ]]; then echo "🔄 Using rebuild release number: ppa$REBUILD_RELEASE"
echo "🔄 Using rebuild release number: ppa$REBUILD_RELEASE" fi
fi echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" # ppa-upload.sh uploads to questing + resolute when series is omitted
if ! bash distro/scripts/ppa-upload.sh "$PKG" "$PPA_NAME" "$SERIES" ${REBUILD_RELEASE:+"$REBUILD_RELEASE"}; then if ! bash distro/scripts/ppa-upload.sh "$PKG" "$PPA_NAME" "" ${REBUILD_RELEASE:+"$REBUILD_RELEASE"}; then
echo "::error::Upload failed for $PKG on $SERIES" echo "::error::Upload failed for $PKG"
exit 1 exit 1
fi fi
done
done done
- name: Summary - name: Summary