Skip to content

Commit

Permalink
Replaced npm build cmd w/ bash ↞ [auto-sync from adamlui/js-utils]
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui authored and kudo-sync-bot committed Apr 13, 2024
1 parent 102c9d2 commit 2379c25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gulp/utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ esac
NEW_VERSION=$(printf "%s.%s.%s" "${SUBVERS[@]}")

# Build minified JS for dist/
npm run build
bash utils/build.sh

# Bump version in package.json + package-lock.json
echo -e "\nBumping versions in package manifests..."
npm version --no-git-tag-version "$NEW_VERSION"

exit

# Bump versions in READMEs
echo -e "\nBumping versions in READMEs..."
PACKAGE_NAME=$(node -pe "require('./package.json').name" | sed -e 's/^@[a-zA-Z0-9-]*\///' -e 's/^@//')
Expand Down

0 comments on commit 2379c25

Please sign in to comment.