mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
14 lines
308 B
Bash
Executable File
14 lines
308 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
if ! [ -x "$(command -v standard-version)" ]; then
|
|
echo "standard-version is not installed. please run 'npm i -g standard-version'"
|
|
exit 1
|
|
fi
|
|
|
|
standard-version --dry-run --skip
|
|
read -p "Continue (y/n)? " -n 1 -r
|
|
echo ;
|
|
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
|
standard-version -s ;
|
|
fi |