diff --git a/scripts/update-javascript.sh b/scripts/update-javascript.sh index b59964dc..124f8561 100644 --- a/scripts/update-javascript.sh +++ b/scripts/update-javascript.sh @@ -2,6 +2,7 @@ set -euo pipefail tagPrefix='' +updatePeerPackages=0 repo="https://github.com/getsentry/sentry-javascript.git" packages=('@sentry/browser' '@sentry/core' '@sentry/integrations' '@sentry/types' '@sentry/utils') #TODO: remove @sentry/hub and @sentry/tracing on next major release. diff --git a/scripts/update-package-json.sh b/scripts/update-package-json.sh index 2105118e..86f2528a 100644 --- a/scripts/update-package-json.sh +++ b/scripts/update-package-json.sh @@ -27,7 +27,7 @@ set-version) done ( cd "$(dirname "$file")" - if [ -n "$updatePeerPackages" ] && [ "$updatePeerPackages" -eq 1 ]; then + if [ "$updatePeerPackages" -eq 1 ]; then #upgrade doesn't support peerDependencies so we'll use the yarn option. yarn add --peer $list --update-sentry-capacitor else diff --git a/scripts/update-wizard.sh b/scripts/update-wizard.sh index dca6fdf5..a73551db 100644 --- a/scripts/update-wizard.sh +++ b/scripts/update-wizard.sh @@ -2,6 +2,7 @@ set -euo pipefail tagPrefix='v' # wizard has a prefix in the repo, but the package.json doesn't have that - we must align +updatePeerPackages=0 repo="https://github.com/getsentry/sentry-wizard.git" packages=('@sentry/wizard')