Skip to content

Commit 2dc6fcd

Browse files
authored
fix(ci): make published readme reference main branch instead of master VSCODE-281 (#331)
1 parent c8c7836 commit 2dc6fcd

File tree

5 files changed

+71
-72
lines changed

5 files changed

+71
-72
lines changed

.github/workflows/publish-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ jobs:
3939
- name: Publish to marketplace
4040
run: |
4141
echo "Publishing ${VSIX_PATH} to marketplace"
42-
npx vsce publish --packagePath "${VSIX_PATH}" -p ${VSCE_PAT}
42+
npx vsce publish --packagePath "${VSIX_PATH}" --githubBranch main
4343
env:
4444
VSCE_PAT: ${{ secrets.VSCE_PAT }}

CHANGELOG.md

Lines changed: 67 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# Change Log
2-
3-
## [v0.6.8](https://github.com/mongodb-js/vscode/releases/tag/v0.6.8) - 2021-07-27
4-
1+
# Change Log
2+
3+
## [v0.6.8](https://github.com/mongodb-js/vscode/releases/tag/v0.6.8) - 2021-07-27
4+
55
### Added
66

77
- Added support for showing databases a user has permissions to when they cannot `listDatabases` (VSCODE-157, #317)
88

99
### Changed
1010

1111
- Updated code lenses in playgrounds to now appear at the end of a selection for partially running (#324)
12-
- Update our CI release pipeline - this is the first automated release ✨
13-
14-
15-
## [v0.6.0](https://github.com/mongodb-js/vscode/releases/tag/v0.6.0) - 2021-07-13
16-
12+
- Update our CI release pipeline - this is the first automated release ✨
13+
14+
15+
## [v0.6.0](https://github.com/mongodb-js/vscode/releases/tag/v0.6.0) - 2021-07-13
16+
1717
### Added
1818

1919
- Added icons for time-series collections (VSCODE-263, #296)
@@ -31,33 +31,33 @@
3131
### Fixed
3232

3333
- Fixed showing an error when large files are shown in vscode which have tokenization disabled (VSCODE-250, #290)
34-
- Fixed showing recently dropped collections and databases in the explorer (VSCODE-244, #288)
35-
36-
37-
## [v0.5.0](https://github.com/mongodb-js/vscode/releases/tag/v0.5.0) - 2021-03-10
38-
34+
- Fixed showing recently dropped collections and databases in the explorer (VSCODE-244, #288)
35+
36+
37+
## [v0.5.0](https://github.com/mongodb-js/vscode/releases/tag/v0.5.0) - 2021-03-10
38+
3939
### Added
4040

4141
- Add documentation details to playground auto completion items (#267)
4242

4343
### Fixed
4444

4545
- Fix launching mongodb shell with ssl in bash (VSCODE-227, #270)
46-
47-
48-
## [v0.4.2](https://github.com/mongodb-js/vscode/releases/tag/v0.4.2) - 2021-02-17
49-
46+
47+
48+
## [v0.4.2](https://github.com/mongodb-js/vscode/releases/tag/v0.4.2) - 2021-02-17
49+
5050
### Added
5151

5252
- Add icon to refresh collection documents list (#264)
5353

5454
### Changed
5555

56-
- Updated the Atlas link to have https (#259)
57-
58-
59-
## [v0.4.1](https://github.com/mongodb-js/vscode/releases/tag/v0.4.1) - 2021-02-10
60-
56+
- Updated the Atlas link to have https (#259)
57+
58+
59+
## [v0.4.1](https://github.com/mongodb-js/vscode/releases/tag/v0.4.1) - 2021-02-10
60+
6161
### Changed
6262

6363
- Updated the Atlas link in the overview page (#250)
@@ -66,10 +66,10 @@
6666

6767
- Fixed an issue with playground connectivity not defaulting the `directConnection` option to true (VSCODE-234, #255)
6868
- Fixed an issue around showing an error while editing a playground file without an active MongoDB connection (VSCODE-231, #251)
69-
70-
71-
## [v0.4.0](https://github.com/mongodb-js/vscode/releases/tag/v0.4.0) - 2021-01-25
72-
69+
70+
71+
## [v0.4.0](https://github.com/mongodb-js/vscode/releases/tag/v0.4.0) - 2021-01-25
72+
7373
### Added
7474

7575
- Added the ability to edit documents opened from the explorer panel (VSCODE-219, #226, #239)
@@ -87,11 +87,11 @@
8787

8888
- Fix opening documents with a binary `_id` from the explorer panel (VSCODE-118, #220)
8989
- Fixed playground log output panel to not display when a playground is open and when a playground is run and there was no log output (#234)
90-
- Fixed code lenses for partial playground executions sometimes being missing (VSCODE-226, #243)
91-
92-
93-
## [v0.3.0](https://github.com/mongodb-js/vscode/releases/tag/v0.3.0) - 2020-11-24
94-
90+
- Fixed code lenses for partial playground executions sometimes being missing (VSCODE-226, #243)
91+
92+
93+
## [v0.3.0](https://github.com/mongodb-js/vscode/releases/tag/v0.3.0) - 2020-11-24
94+
9595
### Added
9696

9797
- Added a resources panel to the overview page (VSCODE-168, #208)
@@ -117,19 +117,19 @@
117117

118118
- Removed custom font in overview page (#192)
119119
- Removed sql pipeline stage operator (#211)
120-
121-
122-
## [v0.2.1](https://github.com/mongodb-js/vscode/releases/tag/0.2.1) - 2020-10-20
123-
120+
121+
122+
## [v0.2.1](https://github.com/mongodb-js/vscode/releases/tag/0.2.1) - 2020-10-20
123+
124124
### Added
125125

126126
- Added the ability to use print() and console.log() in playgrounds [#184](https://github.com/mongodb-js/vscode/pull/184)
127127
- Added an overview page (more to come on this in future versions) [#178](https://github.com/mongodb-js/vscode/pull/178)
128-
- Added a tooltip to fields in a collection's schema to show types found in the sampling for that field [#179](https://github.com/mongodb-js/vscode/pull/179)
129-
130-
131-
## [v0.2.0](https://github.com/mongodb-js/vscode/releases/tag/v0.2.0) - 2020-10-01
132-
128+
- Added a tooltip to fields in a collection's schema to show types found in the sampling for that field [#179](https://github.com/mongodb-js/vscode/pull/179)
129+
130+
131+
## [v0.2.0](https://github.com/mongodb-js/vscode/releases/tag/v0.2.0) - 2020-10-01
132+
133133
### Added
134134
- Added a Playgrounds panel that displays `.mongodb` playground files in the current VSCode workspace
135135
- Added a setting to configure which folders and files are excluded from the playgrounds panel file searching
@@ -138,11 +138,11 @@
138138
### Changed
139139
- Updated our mongosh dependency to 0.4.2 to bring more functionality to playgrounds
140140
### Fixed
141-
- Fixed indexes expanded state caching in the connection explorer panel tree view
142-
143-
144-
## [v0.1.1](https://github.com/mongodb-js/vscode/releases/tag/v0.1.1) - 2020-08-10
145-
141+
- Fixed indexes expanded state caching in the connection explorer panel tree view
142+
143+
144+
## [v0.1.1](https://github.com/mongodb-js/vscode/releases/tag/v0.1.1) - 2020-08-10
145+
146146
### Added
147147

148148
- Added a search for documents playground shortcut in the tree explorer view
@@ -153,11 +153,11 @@
153153
### Changed
154154

155155
- Allow connecting to a new connection while already connecting to another connection
156-
- Allow removing a new connection while it is connecting
157-
158-
159-
## [v0.1.0](https://github.com/mongodb-js/vscode/releases/tag/v0.1.0) - 2020-07-16
160-
156+
- Allow removing a new connection while it is connecting
157+
158+
159+
## [v0.1.0](https://github.com/mongodb-js/vscode/releases/tag/v0.1.0) - 2020-07-16
160+
161161
### Added
162162

163163
- Added the ability to run partial playgrounds
@@ -167,10 +167,10 @@
167167

168168
- Fixed an issue with the launch shell command in powershell
169169
- Fixed an issue with the tree explorer freezing when double clicking an open schema
170-
171-
172-
## [v0.0.4](https://github.com/mongodb-js/vscode/releases/tag/v0.0.4) - 2020-06-17
173-
170+
171+
172+
## [v0.0.4](https://github.com/mongodb-js/vscode/releases/tag/v0.0.4) - 2020-06-17
173+
174174
### Added
175175

176176
- Added `Launch MongoDB Shell` right click action for the active connection in the tree view
@@ -184,11 +184,11 @@
184184

185185
### Changed
186186

187-
- Connections in the tree view are now alphabetically sorted
188-
189-
190-
## [v0.0.3](https://github.com/mongodb-js/vscode/releases/tag/v0.0.3) - 2020-05-26
191-
187+
- Connections in the tree view are now alphabetically sorted
188+
189+
190+
## [v0.0.3](https://github.com/mongodb-js/vscode/releases/tag/v0.0.3) - 2020-05-26
191+
192192
### Added
193193

194194
- Added `require` support in playgrounds
@@ -198,11 +198,11 @@
198198
- Fixed an issue with file pathing on SSL and SSH connections on windows
199199
- Fixed an issue with connecting to mongodb through the shell while using SSH
200200
- Fixed a connectivity issue with playgrounds and SSH connections
201-
- Fixed an issue with having a babel config in a workspace root
202-
203-
204-
## [v0.0.2](https://github.com/mongodb-js/vscode/releases/tag/v0.0.2) - 2020-05-13
205-
201+
- Fixed an issue with having a babel config in a workspace root
202+
203+
204+
## [v0.0.2](https://github.com/mongodb-js/vscode/releases/tag/v0.0.2) - 2020-05-13
205+
206206
This is the marketplace preview release of MongoDB for VS Code.
207207

208208
* MongoDB data explorer
@@ -211,6 +211,5 @@ This is the marketplace preview release of MongoDB for VS Code.
211211

212212
Take a look at [README.md](https://github.com/mongodb-js/vscode/blob/master/README.md) for an overview of the features.
213213

214-
This release can be found on the VS Code marketplace: https://marketplace.visualstudio.com/items?itemName=mongodb.mongodb-vscode
215-
216-
214+
This release can be found on the VS Code marketplace: https://marketplace.visualstudio.com/items?itemName=mongodb.mongodb-vscode
215+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MongoDB for VS Code ![PREVIEW](https://img.shields.io/badge/-PREVIEW-orange)
22

3-
[![Build Status](https://dev.azure.com/team-compass/vscode/_apis/build/status/mongodb-js.vscode?branchName=master)](https://dev.azure.com/team-compass/vscode/_build/latest?definitionId=10&branchName=master)
3+
[![Build Status](https://dev.azure.com/team-compass/vscode/_apis/build/status/mongodb-js.vscode?branchName=main)](https://dev.azure.com/team-compass/vscode/_build/latest?definitionId=10&branchName=main)
44

55
MongoDB for VS Code makes it easy to work with MongoDB, whether your own instance or in [MongoDB Atlas](https://www.mongodb.com/cloud/atlas/register).
66

src/explorer/helpTree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default class HelpTree implements vscode.TreeDataProvider<vscode.TreeItem
6868
if (!element) {
6969
const whatsNew = new HelpLinkTreeItem(
7070
'What\'s New',
71-
'https://github.com/mongodb-js/vscode/blob/master/CHANGELOG.md',
71+
'https://github.com/mongodb-js/vscode/blob/main/CHANGELOG.md',
7272
'whatsNew',
7373
'megaphone'
7474
);

src/telemetry/telemetryService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export default class TelemetryService {
230230

231231
const shellApiType = res.result.type.toLocaleLowerCase();
232232

233-
// See: https://github.com/mongodb-js/mongosh/blob/master/packages/shell-api/src/shell-api.js
233+
// See: https://github.com/mongodb-js/mongosh/blob/main/packages/shell-api/src/shell-api.js
234234
if (shellApiType.includes('insert')) {
235235
return 'insert';
236236
}

0 commit comments

Comments
 (0)