filebrowser/scripts/bump_version.sh
2024-04-29 17:32:16 +02:00

14 lines
260 B
Bash
Executable File

#!/usr/bin/env bash
set -e
if ! [ -x "$(command -v npx)" ]; then
echo "Node.js is require, exiting..."
exit 1
fi
npx standard-version --dry-run --skip
read -p "Continue (y/n)? " -n 1 -r
echo ;
if [[ $REPLY =~ ^[Yy]$ ]]; then
npx standard-version -s ;
fi