datatracker/dev/deploy/build.sh
2024-01-24 14:44:15 -05:00

12 lines
246 B
Bash

#!/bin/bash
echo "Compiling native node packages..."
yarn rebuild
echo "Packaging static assets..."
if [ "${SHOULD_DEPLOY}" = "true" ]; then
yarn build --base=https://static.ietf.org/dt/$PKG_VERSION/
else
yarn build
fi
yarn legacy:build