Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You are trying to release from main. You should only release from master #175

Open
phocks opened this issue Oct 12, 2022 · 1 comment
Open
Assignees

Comments

@phocks
Copy link
Member

phocks commented Oct 12, 2022

Minor issue because it only happens when you try to do an aunty release when in a project that is not connected to a remote origin, but maybe we should return a better error like "you need to be connected to a remote origin to deploy" (or else allow releases without a git repo attached???), and also update the default name const here to main anyway:

const GIT_DEFAULT_INIT_DEFAULT_BRANCH = 'master';

Once I added the remote git repo on GitHub I could do a release.

@drzax
Copy link
Member

drzax commented Feb 24, 2023

I think it might be worth supporting both. This is a bit annoying when working on older projects.

image

And it doesn't matter whether it's connected to a remote origin or not, so maybe this is a different issue?

@colingourlay colingourlay removed their assignment Jul 5, 2023
@abcnews abcnews deleted a comment Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants