Skip to content

Commit fd838bb

Browse files
authored
Merge pull request microsoft#1452 from microsoft/dev/bemcmorr/remove-release-branch
Use main branch for production releases
2 parents 815ab61 + 3ef3304 commit fd838bb

File tree

5 files changed

+9
-14
lines changed

5 files changed

+9
-14
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ on:
77
push:
88
branches:
99
- main
10-
- release
1110
tags:
1211
- v*
1312
pull_request:
1413
branches:
1514
- main
16-
- release
1715

1816
jobs:
1917
build:

CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ There are many ways that you can contribute, beyond writing code. The goal of th
99
If you are interested in writing code to fix issues, first look at the issues with the [help-wanted](https://github.com/Microsoft/vscode-arduino/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) label. They should have the context and code pointers needed to get started. If not, then feel free to ask for some, and we will be happy to provide any guidance you need.
1010

1111
When you are doing code fix, please work against [main](https://github.com/microsoft/vscode-arduino/tree/main)
12-
branch and also submit pull request to `main` branch.
13-
Changes will be merged into `release` branch after production release.
12+
branch and also submit pull request to `main` branch. Production releases will be tagged from `main`.
1413

1514

1615

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ The following settings are as per sketch settings of the Arduino extension. You
122122
- `port` - Name of the serial port connected to the device. Can be set by the `Arduino: Select Serial Port` command. For Mac users could be "/dev/cu.wchusbserial1420".
123123
- `board` - Currently selected Arduino board alias. Can be set by the `Arduino: Change Board Type` command. Also, you can find the board list there.
124124
- `output` - Arduino build output path. If not set, Arduino will create a new temporary output folder each time, which means it cannot reuse the intermediate result of the previous build leading to long verify/upload time, so it is recommended to set the field. Arduino requires that the output path should not be the workspace itself or in a subfolder of the workspace, otherwise, it may not work correctly. By default, this option is not set. It's worth noting that the contents of this file could be deleted during the build process, so pick (or create) a directory that will not store files you want to keep.
125-
- `debugger` - The short name of the debugger that will be used when the board itself does not have a debugger and there is more than one debugger available. You can find the list of debuggers [here](https://github.com/Microsoft/vscode-arduino/blob/release/misc/debuggerUsbMapping.json). By default, this option is not set.
125+
- `debugger` - The short name of the debugger that will be used when the board itself does not have a debugger and there is more than one debugger available. You can find the list of debuggers [here](https://github.com/Microsoft/vscode-arduino/blob/main/misc/debuggerUsbMapping.json). By default, this option is not set.
126126
- `prebuild` - External command which will be invoked before any sketch build (verify, upload, ...). For details see the [Pre- and Post-Build Commands](#Pre--and-Post-Build-Commands) section.
127127
- `postbuild` - External command to be run after the sketch has been built successfully. See the afore mentioned section for more details.
128128
- `intelliSenseGen` - Override the global setting for auto-generation of the IntelliSense configuration (i.e. `.vscode/c_cpp_properties.json`). Three options are available:
@@ -205,7 +205,7 @@ Steps to start debugging:
205205
> To learn more about how to debug Arduino code, visit our [team blog](https://blogs.msdn.microsoft.com/iotdev/2017/05/27/debug-your-arduino-code-with-visual-studio-code/).
206206
207207
## Change Log
208-
See the [Change log](https://github.com/Microsoft/vscode-arduino/blob/release/CHANGELOG.md) for details about the changes in each version.
208+
See the [Change log](https://github.com/Microsoft/vscode-arduino/blob/main/CHANGELOG.md) for details about the changes in each version.
209209

210210
## Supported Operating Systems
211211
Currently this extension supports the following operating systems:
@@ -243,7 +243,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
243243
The [Microsoft Enterprise and Developer Privacy Statement](https://www.microsoft.com/en-us/privacystatement/EnterpriseDev/default.aspx) describes the privacy statement of this software.
244244

245245
## License
246-
This extension is licensed under the [MIT License](https://github.com/Microsoft/vscode-arduino/blob/release/LICENSE.txt). Please see the [Third Party Notice](https://github.com/Microsoft/vscode-arduino/blob/release/ThirdPartyNotices.txt) file for additional copyright notices and terms.
246+
This extension is licensed under the [MIT License](https://github.com/Microsoft/vscode-arduino/blob/main/LICENSE.txt). Please see the [Third Party Notice](https://github.com/Microsoft/vscode-arduino/blob/main/ThirdPartyNotices.txt) file for additional copyright notices and terms.
247247

248248
## Contact Us
249249
If you would like to help build the best Arduino experience with VS Code, you can reach us directly at [gitter chat room](https://gitter.im/Microsoft/vscode-arduino).

azure-pipelines.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ parameters:
1515

1616
pr:
1717
- main
18-
- release
1918

2019
trigger:
2120
branches:
2221
include:
2322
- main
24-
- release
2523
tags:
2624
include:
2725
- v*
@@ -32,13 +30,13 @@ pool:
3230
variables:
3331
# MicroBuild requires TeamName to be set.
3432
TeamName: C++ Cross Platform and Cloud
35-
# If the user didn't override the signing type, then only real-sign on tags,
36-
# main, or release.
33+
# If the user didn't override the signing type, then only real-sign on tags or
34+
# the main branch.
3735
${{ if ne(parameters.SignTypeOverride, 'default') }}:
3836
SignType: ${{ parameters.SignTypeOverride }}
39-
${{ if and(eq(parameters.SignTypeOverride, 'default'), or(startsWith(variables['Build.SourceBranch'], 'refs/tags'), eq(variables['Build.SourceBranchName'], 'main'), eq(variables['Build.SourceBranchName'], 'release'))) }}:
37+
${{ if and(eq(parameters.SignTypeOverride, 'default'), or(startsWith(variables['Build.SourceBranch'], 'refs/tags'), eq(variables['Build.SourceBranchName'], 'main'))) }}:
4038
SignType: real
41-
${{ if and(eq(parameters.SignTypeOverride, 'default'), not(or(startsWith(variables['Build.SourceBranch'], 'refs/tags'), eq(variables['Build.SourceBranchName'], 'main'), eq(variables['Build.SourceBranchName'], 'release')))) }}:
39+
${{ if and(eq(parameters.SignTypeOverride, 'default'), not(or(startsWith(variables['Build.SourceBranch'], 'refs/tags'), eq(variables['Build.SourceBranchName'], 'main')))) }}:
4240
SignType: test
4341

4442
steps:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"bugs": {
1919
"url": "https://github.com/Microsoft/vscode-arduino/issues"
2020
},
21-
"homepage": "https://github.com/Microsoft/vscode-arduino/blob/release/README.md",
21+
"homepage": "https://github.com/Microsoft/vscode-arduino",
2222
"categories": [
2323
"Programming Languages",
2424
"Debuggers",

0 commit comments

Comments
 (0)