mirror of
https://github.com/rive-app/rive-react.git
synced 2025-12-19 01:30:08 +08:00
10 lines
344 B
Bash
Executable File
10 lines
344 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Bumps the version of a single npm module found in the current working
|
|
# directory. Call bump_version.sh from the path with package.json in it.
|
|
|
|
set -e
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
NPM_VERSIONS=`npm show rive-react versions`
|
|
node $SCRIPT_DIR/nextVersion.js "$NPM_VERSIONS" `pwd`
|