Skip to content

Commit

Permalink
Add validator to ensure build completed successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDuckCow committed Aug 24, 2024
1 parent e41dc41 commit 061bf15
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion push_latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@ rm mcprep_addon_trackerid.json

echo "Building prod addon..."
bab -b translate # No --during-build dev to make it prod.
ls build/MCprep_addon.zip
if [ $? -eq 0 ]; then
echo "Build complete"
ls build/MCprep_addon.zip
else
echo "Build failed"
exit
fi

# -----------------------------------------------------------------------------
# Cross check no local changes, such as updated translations
Expand Down

0 comments on commit 061bf15

Please sign in to comment.