Skip to content

Commit

Permalink
fix: limited script for now
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Feb 27, 2023
1 parent a659ce8 commit ac9f054
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/update_own_version.sh
Expand Up @@ -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

0 comments on commit ac9f054

Please sign in to comment.