Use newer snapcraft image

This commit is contained in:
2025-04-15 15:18:24 -04:00
parent bb3f4c83c8
commit b65ad93698

View File

@@ -1133,7 +1133,7 @@ install_mc_snap() {
if execute podman run --rm -it \ if execute podman run --rm -it \
-v "$OUTPUT_DIR:/build:Z" \ -v "$OUTPUT_DIR:/build:Z" \
-w /build \ -w /build \
docker.io/snapcore/snapcraft:stable \ docker.io/snapcore/snapcraft:edge \
snapcraft snap -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode; then snapcraft snap -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode; then
echo "Snap package built successfully: $snap_dir/${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" echo "Snap package built successfully: $snap_dir/${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap"
else else