Skip to content

Commit 4113a0b

Browse files
authored
Merge pull request #18 from stuartleeks/sl/main-update
Finish main updates
2 parents 34b5ec0 + dbb8358 commit 4113a0b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ devcontainer template add-link go
115115

116116
## Template paths
117117

118-
`devcontainer` can be [configured to scan multiple folders](#working-with-devcontainer-templates) to find templates. It is designed to work with folders structured in the same was as the [containers from in github.com/microsoft/vscode-dev-containers](https://github.com/microsoft/vscode-dev-containers/tree/master/containers).
118+
`devcontainer` can be [configured to scan multiple folders](#working-with-devcontainer-templates) to find templates. It is designed to work with folders structured in the same was as the [containers from in github.com/microsoft/vscode-dev-containers](https://github.com/microsoft/vscode-dev-containers/tree/main/containers).
119119

120120
Assuming you cloned [github.com/microsoft/vscode-dev-containers/](https://github.com/microsoft/vscode-dev-containers/) into your `~/source/` folder and set up a custom devcontainer folder in `~/source/devcontainers` then you can configure your template paths as shown below. The sub-folder names are used as the template name and when duplicates are found the first matching folder is taken, so in the example below the `~/source/devcontainers` templates take precedence.
121121

scripts/ci_release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ fi
1010
if [ -z ${IS_CI} ]; then
1111
echo "Not running in CI, skipping CI setup"
1212
else
13-
if [ -z $IS_PR ] && [[ $BRANCH == "refs/heads/master" ]]; then
14-
echo "On master setting PUBLISH=true"
13+
if [ -z $IS_PR ] && [[ $BRANCH == "refs/heads/main" ]]; then
14+
echo "On main setting PUBLISH=true"
1515
export PUBLISH=true
1616
else
17-
echo "Skipping publish as is from PR: $PR_NUMBER or not 'refs/heads/master' BRANCH: $BRANCH"
17+
echo "Skipping publish as is from PR: $PR_NUMBER or not 'refs/heads/main' BRANCH: $BRANCH"
1818
fi
1919
fi
2020

0 commit comments

Comments
 (0)