1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/.github/update_own_version.sh
2023-02-27 11:00:04 +01:00

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