Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions ci-scripts/sdk_release_pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
# Fail script if any command fails
set -e

SDK_DIR=$(dirname $0)/../sdk
GIT_ROOT=$(git rev-parse --show-toplevel)
SDK_DIR=$GIT_ROOT/sdk

# Bump version of all packages
for p in $(pwd)/sdk/packages/*
for p in $SDK_DIR/packages/*
do
cd $p
version=$(npm version minor)
Expand All @@ -28,7 +29,7 @@ cd $SDK_DIR
pnpm run lint:fix

# Ensure we are in the git root
cd $(git rev-parse --show-toplevel)
cd $GIT_ROOT

echo "Preparing PR for SDK version $version"

Expand Down
Loading