84b89c8b24
* Pre-ncc compiled packages to prevent re-nccing unnecessarily * Add compiled files * Re-run pre-ncc step * Add check to workflow to ensure pre-compiled doesnt need updating * Update check-pre-compiled script * Add handling for lower case license while nccing * bump Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
12 lines
261 B
Bash
Executable file
12 lines
261 B
Bash
Executable file
#!/bin/bash
|
|
|
|
yarn --cwd packages/next ncc-compiled
|
|
|
|
# Make sure to exit with 1 if there are changes after running ncc-compiled
|
|
# step to ensure we get any changes committed
|
|
|
|
if [[ ! -z $(git status -s) ]];then
|
|
echo "Detected changes"
|
|
git status
|
|
exit 1
|
|
fi
|