Actually check that the snap is built
This commit is contained in:
@@ -1133,7 +1133,8 @@ install_mc_snap() {
|
||||
-w /build \
|
||||
--entrypoint "" \
|
||||
ghcr.io/canonical/snapcraft:8_core24 \
|
||||
snapcraft pack -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode; then
|
||||
snapcraft pack -o "${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" --destructive-mode \
|
||||
&& [[ -f "$snap_dir/${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap" ]]; then
|
||||
echo "Snap package built successfully: $snap_dir/${MC_PKG}_${MC_VERSION}-${MC_RELEASE}.snap"
|
||||
else
|
||||
err "Snap package build failed."
|
||||
|
||||
Reference in New Issue
Block a user