mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-18 20:09:08 +02:00
14 lines
280 B
Bash
Executable File
14 lines
280 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
CURRENT_VERSION=$(npm pkg get version)
|
|
|
|
if [[ $CURRENT_VERSION == *beta* ]]; then
|
|
echo "Current beta update"
|
|
npm version prerelease --preid=beta --ignore-scripts
|
|
else
|
|
echo "Next minor beta update"
|
|
npm version preminor --preid=beta --ignore-scripts
|
|
fi
|