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
auto with a non-lerna project #966
Comments
Here is the output https://app.circleci.com/jobs/github/react-native-community/hooks/49 |
Do you have a branch? Sorry about this. I thought I had fixed this issue in an old version |
I'm not able to reproduce with your repo currently |
On your repo's master I did the following without any errors:
Output:
|
😭 I cleaned it up a few minutes ago 🤦♂️. I can recreate it tomorrow in a branch, but let me list here what I found out. I added auto and all-contributors. I then tried auto shipit and even with dry run it would fail because of the lerna error. I then removed the all-contributors, and tried without it. I had two problems. One was that the ci complained for GitHub.com being unauthorized ip or something. I switched to https on the repository on package.json but it didn't help. The other problem was that gh releases and tags were not happening. At some point I have one version number on package.json, another was tried to be created as a tag, and a third was the npm release. All three numbers were different, which confused me a lot and I gave up. I'll recreate things tomorrow. Sorry and thanks. |
https://github.com/intuit/auto/blob/master/.circleci/config.yml#L99 This is also in the docs I think. Maybe I should re-open and address #550 |
does it work without 'from' and 'd'? |
yeah it just outputs nothing |
I can try to get a PR together and set auto up. I have time. as long as you have tokens set up already I should be able to do it pretty easily |
hm strange. ok I guess the only way is to just get my trials back. I'll do a reflog and push it in a branch tomorrow if that's alright. |
the ci has tokens set up. that would be amazing. do you wanna talk on discord or something for more direct chat? it's just 1.26 in the morning here and it's been a long day 😬 |
Go to sleep! I'll get a PR together for |
If you could add me as a collaborator on the repo that would be perfect too. I just need to add some git tags (maybe) |
I have invited you as collaborator. |
Ok, so I merged your PR. I did a PR with no release label, it made only canary, great. I did a PR with the release label, canary worked, merged, then lerna problem https://app.circleci.com/jobs/github/react-native-community/hooks/114 and https://app.circleci.com/jobs/github/react-native-community/hooks/130. |
Also, strangely, when I moved the config out to a file, react-native-community/hooks@aaca764 there was a git tag added with the prefix 🤔 |
Up and investigating |
we are def on different sides of the world lol |
😅 indeed. but I'm up for a while more, I can help you if you need something. in an hour or so I have time. |
So I think I actually need admin so I can edit/delete tags. Also:
I think the best path forward is having the |
I can make the tags as you want them. yea, I thought so too about the v. I don't like it but I guess it's less friction. |
Ok I removed the prefix config, and now we have |
I'm creating the initial all-contributors sections for you. pr will be incoming with new version |
In autorc its |
flags are kebab case, when in an auto rc they are camelCase |
Damn, thank you soooooo much for the help and for this tool! I love open source and the people involved. |
Thank you for using closed via #971 |
react-native-community/hooks#74, right? |
I don't think we support |
Ah. I thought I saw somewhere that it uses cosmicconfig. Alright, |
Yeah, it's just the fact that a js file isn't statically analyzable in the same way that a JSON/yml file is so it makes it challenging to build automation against. |
Describe the bug
I setup auto in the https://github.com/react-native-community/hooks repo. We have no
lerna.json
file, and when I runyarn auto changelog --verbose
, I get an error likeTo Reproduce
Expected behavior
If the repo has no lerna configured, it shouldn't need or look for it and error out, right?
Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: