Feat: Setup workflow to npm publish 2 new rive-react packages

This commit is contained in:
Zach Plata
2022-04-20 13:04:28 -07:00
committed by Zachary Plata
parent 7f2bd76eb3
commit bb7d3e4e6c
2 changed files with 20 additions and 2 deletions

View File

@@ -7,3 +7,6 @@ set -e
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
# RELEASE_VERSION will come from an env variable passed in from the GH action workflow
node $SCRIPT_DIR/nextVersion.js "$RELEASE_VERSION" `pwd`
# Replace the dist package json with the newly trimmed one
cp -f ./package.json ./dist/package.json