You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit updates the publish sequence, fixing various bugs, and
skipping several steps due to failing build steps. Two of the skipped
steps (updating Markdown related sections and updating package URLs)
should be resolved in short order and can be re-enabled. The third,
publishing standalone dist bundles, needs to be investigated, as
bundle tests are failing after generating the bundles.
script="var pkg = require( '${package_json}' ); var keys = Object.keys( pkg.dependencies ); for ( var i = 0; i < keys.length; i++ ) { if ( /^@stdlib/.test( keys[ i ] ) ) { console.log( keys[ i ] ); } }"
422
-
dependencies="$(node -e "${script}")"
423
+
dependencies=$(node -e "${script}")
423
424
if [[ "$?"-ne 0 ]];then
424
425
echo''>&2
425
-
echo'Error: unexpected error. Encountered an error when getting list of `@stdlib` dependencies.'>&2
426
+
echo'Error: unexpected error. Encountered an error when getting list of stdlib dependencies.'>&2
426
427
echo''>&2
427
428
return 1
428
429
fi
429
-
echo'Retrieving latest versions for `@stdlib` dependencies...'>&2
430
-
fordependencyin${dependencies};do
431
-
pkgVersion="$(npm view "${dependency}" version)"
432
-
echo"Updating ${dependency} to ${pkgVersion} in ${package_json}...">&2
# WARNING: at this point, we are at the point of no return and, from this point forward, cannot easily revert changes to the local repository as packages may already be published...
0 commit comments