Skip to content

Commit

Permalink
Merge pull request #267 from bugsnag/release-v4.1.0
Browse files Browse the repository at this point in the history
Release v4.1.0
  • Loading branch information
robert-smartbear authored Nov 4, 2024
2 parents 3bb2f56 + 70b02e3 commit 8fd2a30
Show file tree
Hide file tree
Showing 30 changed files with 154 additions and 325 deletions.
14 changes: 12 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ steps:
commands:
- make lint

- label: Build Example App 3.10.0
- label: Build Example App 3.24.4
timeout_in_minutes: 10
agents:
queue: macos-14
env:
FLUTTER_BIN: "/opt/flutter/3.10.0/bin/flutter"
FLUTTER_BIN: "/opt/flutter/3.24.4/bin/flutter"
commands:
- bundle install
- pod repo update
Expand Down Expand Up @@ -70,6 +72,10 @@ steps:
- "--no-tunnel"
- "--aws-public-ip"
- "--fail-fast"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^main|next$$"
concurrency: 25
concurrency_group: 'bitbar'
concurrency_method: eager
Expand Down Expand Up @@ -110,6 +116,10 @@ steps:
- "--device=ANDROID_12"
- "--appium-version=1.22.0"
- "--fail-fast"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^main|next$$"
concurrency: 5
concurrency_group: 'browserstack-app'
concurrency_method: eager
7 changes: 4 additions & 3 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
VERSION: ${{ github.event_name == 'repository_dispatch' && github.event.client_payload.target_version || inputs.target_version }}
BUNDLE_GITHUB__COM: ${{ secrets.BUNDLE_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REVIEWER: kstenerud,robert-smartbear
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:
if: ${{ steps.current-branch.outputs.branch != 'next'}}
run: >
gh pr create -B next
-H bumpsnag-$TARGET_SUBMODULE-$TARGET_VERSION
--title "Update $TARGET_SUBMODULE to version $TARGET_VERSION"
-H bumpsnag-$SUBMODULE-$VERSION
--title "Update $SUBMODULE to version $VERSION"
--body 'Created by bumpsnag'
--reviewer kstenerud,robert-smartbear
--reviewer $REVIEWER
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
Package.resolved
Podfile.lock
maze_output/
Gemfile.lock
.idea/
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 4.1.0 (2024-11-04)

- Upgrade Android compileSdkVersion from 29 to 31.
[263](https://github.com/bugsnag/bugsnag-flutter/pull/263)

## 4.0.0 (2024-07-29)

### Breaking Changes
Expand Down
220 changes: 0 additions & 220 deletions Gemfile.lock

This file was deleted.

36 changes: 36 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,39 @@ else ifeq ($(SUBMODULE), bugsnag-cocoa)
else
@$(error SUBMODULE must be one of bugsnag-android or bugsnag-cocoa)
endif

prerelease: bump stage ## Generates a PR for the $VERSION release
ifeq ($(VERSION),)
@$(error VERSION is not defined. Run with `make VERSION=number prerelease`)
endif
rm -rf staging
@git checkout -b release-v$(VERSION)
@git add packages/bugsnag_flutter/pubspec.yaml packages/bugsnag_breadcrumbs_dart_io/pubspec.yaml packages/bugsnag_breadcrumbs_http/pubspec.yaml packages/bugsnag_flutter/lib/src/client.dart CHANGELOG.md VERSION
@git diff --exit-code || (echo "you have unstaged changes - Makefile may need updating to `git add` some more files"; exit 1)
@git commit -m "Release v$(VERSION)"
@git push origin release-v$(VERSION)
@open "https://github.com/bugsnag/bugsnag-flutter/compare/main...release-v$(VERSION)?expand=1&title=Release%20v$(VERSION)&body="$$(awk 'start && /^## /{exit;};/^## /{start=1;next};start' CHANGELOG.md | hexdump -v -e '/1 "%02x"' | sed 's/\(..\)/%\1/g')

release: stage ## Releases the current main branch as $VERSION
@git fetch origin
ifneq ($(shell git rev-parse --abbrev-ref HEAD),main) # Check the current branch name
@git checkout main
@git rebase origin/main
endif
ifneq ($(shell git diff origin/main..main),)
$(error you have unpushed commits on the main branch)
endif
@git tag v$(PRESET_VERSION)
@git push origin v$(PRESET_VERSION)
@git checkout next
@git rebase origin/next
@git merge main
@git push origin next
# Prep GitHub release
# We could technically do a `hub release` here but a verification step
# before it goes live always seems like a good thing
@open 'https://github.com/bugsnag/bugsnag-flutter/releases/new?title=v$(PRESET_VERSION)&tag=v$(PRESET_VERSION)&body='$$(awk 'start && /^## /{exit;};/^## /{start=1;next};start' CHANGELOG.md | hexdump -v -e '/1 "%02x"' | sed 's/\(..\)/%\1/g')
cd staging/bugsnag_flutter && $(FLUTTER_BIN) pub publish
cd staging/bugsnag_breadcrumbs_dart_io && $(FLUTTER_BIN) pub publish
cd staging/bugsnag_breadcrumbs_http && $(FLUTTER_BIN) pub publish
rm -rf staging
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0.0
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,18 @@ services:
BUILDKITE_REPO:
BUILDKITE_RETRY_COUNT:
BUILDKITE_STEP_KEY:
BUILDKITE_ANALYTICS_TOKEN:
MAZE_BUGSNAG_API_KEY:
BROWSER_STACK_USERNAME:
BROWSER_STACK_ACCESS_KEY:
MAZE_NO_FAIL_FAST:
ports:
- "9000-9499:9339"
volumes:
- ./features/:/app/features/
- ./maze_output:/app/maze_output
- /var/run/docker.sock:/var/run/docker.sock
- ./reports/:/app/reports/

networks:
default:
Expand Down
1 change: 1 addition & 0 deletions examples/flutter/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
Expand Down
18 changes: 9 additions & 9 deletions examples/flutter/.metadata
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.
# This file should be version controlled and should not be manually edited.

version:
revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
channel: stable
revision: "603104015dd692ea3403755b55d07813d5cf8965"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
create_revision: 603104015dd692ea3403755b55d07813d5cf8965
base_revision: 603104015dd692ea3403755b55d07813d5cf8965
- platform: android
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
create_revision: 603104015dd692ea3403755b55d07813d5cf8965
base_revision: 603104015dd692ea3403755b55d07813d5cf8965
- platform: ios
create_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
base_revision: 84a1e904f44f9b0e9c4510138010edcc653163f8
create_revision: 603104015dd692ea3403755b55d07813d5cf8965
base_revision: 603104015dd692ea3403755b55d07813d5cf8965

# User provided section

Expand Down
Loading

0 comments on commit 8fd2a30

Please sign in to comment.