diff --git a/.github/update_own_version.sh b/.github/update_own_version.sh index e78850351a4..8a5ccf166ab 100755 --- a/.github/update_own_version.sh +++ b/.github/update_own_version.sh @@ -2,12 +2,4 @@ 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 +npm version prerelease --preid=beta --ignore-scripts