Skip to content

Commit

Permalink
Merge branch 'next' into integration/v8
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Skinner committed Jan 30, 2024
2 parents 159e236 + 2115ba1 commit 7a8b3cb
Show file tree
Hide file tree
Showing 13 changed files with 2,269 additions and 1,607 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@
- (plugin-network-breadcrumbs, plugin-electron-net-breadcrumbs) Added `method` metadata field to network breadcrumbs [#1988](https://github.com/bugsnag/bugsnag-js/pull/1988)
- (plugin-network-breadcrumbs, plugin-electron-net-breadcrumbs) Added `duration` metadata field to network breadcrumbs [#1903](https://github.com/bugsnag/bugsnag-js/pull/1903)

## TBD

### Changed

- (react-native) Update bugsnag-android from v5.31.3 to [v5.32.1](https://github.com/bugsnag/bugsnag-android/blob/v5.32.1/CHANGELOG.md#5321-2024-01-23)

### Fixed

- (plugin-vue) Handle updated Vue error info URL [#2068](https://github.com/bugsnag/bugsnag-js/pull/2068)
- (react-native) Publish xcprivacy file from vendored bugsnag-cocoa [#2072](https://github.com/bugsnag/bugsnag-js/pull/2072)

## v7.22.3 (2024-01-03)

### Changed
Expand Down
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ AWS_ACCESS_KEY_ID=xxx \
AWS_SECRET_ACCESS_KEY=xxx \
RELEASE_BRANCH=master \
VERSION=patch \
DIST_TAG=latest \
docker-compose run release
```

Expand Down Expand Up @@ -142,6 +143,7 @@ AWS_ACCESS_KEY_ID=xxx \
AWS_SECRET_ACCESS_KEY=xxx \
RELEASE_BRANCH=master \
VERSION=preminor \
DIST_TAG=next \
docker-compose run release
```
Expand All @@ -165,6 +167,8 @@ GITHUB_ACCESS_TOKEN=<generate a personal access token> \
AWS_ACCESS_KEY_ID=xxx \
AWS_SECRET_ACCESS_KEY=xxx \
RELEASE_BRANCH=master \
VERSION=patch \
DIST_TAG=latest \
RETRY_PUBLISH=1 \
FORCE_CDN_UPLOAD=1 \
docker-compose run release
Expand Down
13 changes: 3 additions & 10 deletions bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ if [[ -z ${GITHUB_USER:-} ]]; then error_missing_field "GITHUB_USER"; fi
if [[ -z ${GITHUB_ACCESS_TOKEN:-} ]]; then error_missing_field "GITHUB_ACCESS_TOKEN"; fi
if [[ -z ${RELEASE_BRANCH:-} ]]; then error_missing_field "RELEASE_BRANCH"; fi
if [[ -z ${VERSION:-} ]]; then error_missing_field "VERSION"; fi
if [[ -z ${DIST_TAG:-} ]]; then error_missing_field "DIST_TAG"; fi
if [[ -z ${AWS_ACCESS_KEY_ID:-} ]]; then error_missing_field "AWS_ACCESS_KEY_ID"; fi
if [[ -z ${AWS_SECRET_ACCESS_KEY:-} ]]; then error_missing_field "AWS_SECRET_ACCESS_KEY"; fi
if [[ -z ${AWS_SESSION_TOKEN:-} ]]; then error_missing_field "AWS_SESSION_TOKEN"; fi
Expand Down Expand Up @@ -51,17 +52,9 @@ git push origin --follow-tags

# publish
if [ -v RETRY_PUBLISH ]; then
npx lerna publish from-package
npx lerna publish from-package --dist-tag "$DIST_TAG"
else
case $VERSION in
"prerelease" | "prepatch" | "preminor" | "premajor")
npx lerna publish from-git --dist-tag next
;;

*)
npx lerna publish from-git
;;
esac
npx lerna publish from-git --dist-tag "$DIST_TAG"
fi

if [ "$BROWSER_PACKAGE_CHANGED" -eq 1 ] || [ -v FORCE_CDN_UPLOAD ]; then
Expand Down
Loading

0 comments on commit 7a8b3cb

Please sign in to comment.