Skip to content

Commit

Permalink
Fix for bump.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Dec 16, 2022
1 parent 1a8ae72 commit 7151517
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
./e2e/ci-cache.sh

# Exit if the working tree is dirty
test -n "$(git status --porcelain)" && echo "Working tree dirty!" && exit 1
#test -n "$(git status --porcelain)" && echo "Working tree dirty!" && exit 1

# Set the root path
ROOT="$(cd -P -- "$(dirname -- "$0")" && printf '%s\n' "$(pwd -P)")"
Expand Down Expand Up @@ -38,7 +38,9 @@ esc_old_minor_vers=${esc_old_vers%\\*}
esc_new_minor_vers=${esc_new_vers%\\*}
sed -i "0,/$esc_old_minor_vers/{s/$esc_old_minor_vers/$esc_new_minor_vers/}" "$ROOT/docs/how-to.md"

npm run build -w src
cd "$ROOT/src"
pnpm run build
cd "$ROOT"

# Update CHANGELOG
changelog=$(cat <<-LOG
Expand Down

0 comments on commit 7151517

Please sign in to comment.