[QUERY] Code generation script, GithubBranchName after main branch rename
See original GitHub issueQuery/Question
Hi, I am looking for but cannot find information on where Start-AutoRestCodeGeneration (generate.ps1) gets the branch name from. We are having issues since the branch name change. Running generate.ps1 to generate a new version our SDK and we seem to be targeting master rather than main GithubBranchName = "master";
.
Is there some config we need to update to pull from main rather than master?
Environment:
- Name and version of the Library package used: [e.g. Azure.Storage.Blobs 12.2.0]
- Hosting platform or OS and .NET runtime version (
dotnet --info
output for .NET Core projects): [e.g. Azure AppService or Windows 10 .NET Framework 4.8] - IDE and version : [e.g. Visual Studio 16.3]
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (9 by maintainers)
Top Results From Across the Web
chancancode/branch-rename
The most common case of this is to rename the default "master" branch to something else, such as "main". We are going to...
Read more >Rename default git branch name from 'master' to ' ...
Background The default git branch name 'master' was replaced with 'main' on GitHub [2][3] and in the wider Git community [4].
Read more >Renaming a branch - GitHub Docs
On GitHub.com, navigate to the main page of the repository. · From the file tree view on the left, select the branch dropdown...
Read more >Change the default branch from "master" to something else
Our team would prefer to change our default branch name away from "master", since "master" is a generally problematic term due to its ......
Read more >Renaming the default branch from master
The default branch name for new repositories created on GitHub is now main . To set a different default: For users, on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Quick fix https://github.com/Azure/azure-sdk-tools/pull/1928
Hi @audunn, since you haven’t asked that we “
/unresolve
” the issue, we’ll close this out. If you believe further discussion is needed, please add a comment “/unresolve
” to reopen the issue.