question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QUERY] Code generation script, GithubBranchName after main branch rename

See original GitHub issue

Query/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:closed
  • Created 2 years ago
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
HarveyLinkcommented, Aug 20, 2021
0reactions
msftbot[bot]commented, Sep 21, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found