You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-15
Original file line number
Diff line number
Diff line change
@@ -40,16 +40,8 @@ The build happens automatically when you start a workspace but if you want to bu
40
40
41
41
```
42
42
pnpm install
43
-
pnpm build --target=chrome-mv3 # or --target=firefox-mv2
44
-
pnpm package --target=chrome-mv3 # or --target=firefox-mv2
45
-
```
46
-
47
-
#### Note about `--target=firefox-mv2`
48
-
49
-
To generate a proper `manifest.json` file for Firefox, execute the following script first. It ensures that the manifest file is generated with MV2-compatible fields.
50
-
51
-
```
52
-
./scripts/firefox-mv2.sh
43
+
pnpm build --target=chrome-mv3 # or --target=firefox-mv3
44
+
pnpm package --target=chrome-mv3 # or --target=firefox-mv3
53
45
```
54
46
55
47
### Testing
@@ -66,17 +58,16 @@ You can test the extension without publishing to the store. Before uploading the
66
58
67
59
1. Open Firefox
68
60
1. Go to `about:debugging#/runtime/this-firefox`
69
-
1. Click Load Temporary Add-on -> Select the `firefox-mv2-prod.zip` file. Please note, that some features (like extension settings) will not work.
61
+
1. Click Load Temporary Add-on -> Select the `firefox-mv3-prod.zip` file. Please note, that some features (like extension settings) will not work.
70
62
71
63
## Release
72
64
73
65
We currently publish the extension for **Chrome** and **Firefox**.
74
66
75
67
To release a new version, follow these steps:
76
68
77
-
1. Bump up the version value inside `package.json`
69
+
1. Bump up the version value inside `package.json` (`yarn version --patch` or `yarn version --minor`)
78
70
1. Push your changes to `main`
79
-
1. Create a tag `vX.Y.Z`
80
71
1. Compose a list of changes using the list of commits that were pushed since last version
81
72
1.[Create a new release](https://github.com/gitpod-io/browser-extension/releases/new), listing changes:
82
73
@@ -92,12 +83,17 @@ To release a new version, follow these steps:
92
83
Thanks to @{EXTERNAL_CONTRIBUTOR_USERNAME} for helping! 🍊
93
84
```
94
85
95
-
For Firefox, our [GitHub Action](https://github.com/gitpod-io/browser-extension/blob/main/.github/workflows/submit.yml) should take care of publishing for us. You can trigger a release (either staging or production) from the [workflow's tab](https://github.com/gitpod-io/browser-extension/actions/workflows/submit.yml).
86
+
For Firefox:
87
+
88
+
1. Sign in to https://addons.mozilla.org/en-US/developers/addon/gitpod/edit with the credentials from 1Password
89
+
2. Click <kbd>Upload new version</kbd>
90
+
3. Upload the zip file (`firefox-mv3-prod.zip`)
91
+
4. Go through the steps and submit
96
92
97
93
For Chrome:
98
94
99
95
1. Using your Google account, open the [`gitpod-browser-extension Google Group`](https://groups.google.com/g/gitpod-browser-extension)
100
-
2. If you don't have access, reach out for [help in Slack](https://gitpod.slack.com/archives/C020VCB0U5A)
96
+
2. If you don't have access, reach out for [help in Slack](https://gitpod.slack.com/archives/C04QC1ZMPV4)
101
97
3. Once you are in the Google Group, make sure to "Switch to Gitpod" in the top navbar
102
98
4. Click "Upload new package"
103
99
5. Upload the zip file (`chrome-mv3-prod.zip`) and submit
0 commit comments