Skip to content

Commit 702ad98

Browse files
authored
Merge pull request #235 from bugsnag/release/3.4.1
v3.4.1 Release
2 parents 10d14b5 + c74853e commit 702ad98

File tree

7 files changed

+29
-10
lines changed

7 files changed

+29
-10
lines changed

.buildkite/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ steps:
111111
- label: ":video_game: Unity Android Integration Tests"
112112
depends_on: build
113113
env:
114-
UNITY_VERSION: 6000.0.49f1
114+
UNITY_VERSION: 6000.2.2f1
115115
agents:
116116
queue: macos-15-isolated
117117
commands:
@@ -128,7 +128,7 @@ steps:
128128
- label: ":video_game: Unity iOS Integration Tests"
129129
depends_on: build
130130
env:
131-
UNITY_VERSION: 6000.0.49f1
131+
UNITY_VERSION: 6000.2.2f1
132132
agents:
133133
queue: macos-15-isolated
134134
commands:

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [3.4.1] - 2025-09-30
4+
5+
### Fixed
6+
7+
- Ensure that we handle `CodeBundleId` for the `upload js` command correctly [#234](https://github.com/bugsnag/bugsnag-cli/pull/234)
8+
39
## [3.4.0] - 2025-09-12
410

511
### Added

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,20 @@ npm install @bugsnag/cli`
4141

4242
It can then be executed from your project scripts at `/node_modules/.bin/bugsnag-cli` or using `npx @bugsnag/cli`.
4343

44+
### Homebrew
45+
46+
To install via Homebrew, first add the BugSnag tap:
47+
48+
```bash
49+
brew tap bugsnag/tap
50+
```
51+
52+
Then install the CLI:
53+
54+
```bash
55+
brew install bugsnag-cli
56+
```
57+
4458
## Supported commands
4559

4660
### Create builds

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ display_help() {
9191
EOS
9292
}
9393

94-
VERSION="3.4.0"
94+
VERSION="3.4.1"
9595

9696
while [[ "$#" -gt 0 ]]; do
9797
case "$1" in

js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bugsnag/cli",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"description": "BugSnag CLI",
55
"main": "dist/bugsnag-cli-wrapper.js",
66
"types": "dist/bugsnag-cli-wrapper.d.ts",

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/bugsnag/bugsnag-cli/pkg/upload"
1212
)
1313

14-
var package_version = "3.4.0"
14+
var package_version = "3.4.1"
1515

1616
func main() {
1717
commands := options.CLI{}

pkg/utils/upload-options.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,10 @@ func BuildReactNativeUploadOptions(appVersion string, versionCode string, codeBu
124124
func BuildJsUploadOptions(versionName string, codeBundleId string, bundleUrl string, projectRoot string, overwrite bool) (map[string]string, error) {
125125
uploadOptions := make(map[string]string)
126126

127-
if versionName != "" {
127+
// If codeBundleId is set, use that instead of appVersion
128+
if codeBundleId != "" {
129+
uploadOptions["codeBundleId"] = codeBundleId
130+
} else if versionName != "" {
128131
uploadOptions["appVersion"] = versionName
129132
}
130133

@@ -138,10 +141,6 @@ func BuildJsUploadOptions(versionName string, codeBundleId string, bundleUrl str
138141
uploadOptions["projectRoot"] = projectRoot
139142
}
140143

141-
if codeBundleId != "" {
142-
uploadOptions["codeBundleId"] = codeBundleId
143-
}
144-
145144
if overwrite {
146145
uploadOptions["overwrite"] = "true"
147146
}

0 commit comments

Comments
 (0)