-
Notifications
You must be signed in to change notification settings - Fork 296
Cannot publish my theme: Git tag not found #147
Comments
Is this the theme you are trying to publish? https://atom.io/packages/github-theme |
No, that's another one. So, does this mean it's a naming conflict? |
Looks to be. @thedaniel should this have shown some other error such as name already taken? |
Yep. |
Also, apm should maybe make sure a user can admin a package before trying to push a version. |
@thedaniel what API would test for that without making any changes? |
@kevinsawicki I think we'd need to add one. |
sounds good |
It happened to me too trying to publish a patch for this repo https://github.com/AbeEstrada/atom-hex
The tag is created in the repo https://github.com/AbeEstrada/atom-hex/releases/tag/v0.3.6
|
And if you run |
I forgot to include that detail.
|
@AbeEstrada thanks so much for reporting that stack trace, that is a regression for sure, and I just pushed a fix for it, it will be included in 0.122 which should be out tomorrow morning. |
Can you try opening if (options == null) { options = {}; } Then run |
@kevinsawicki now it doesn't show an error, but still can't publish
|
Thanks for trying it again, I'm going to cc @thedaniel now since the tag does appear to be there and that message is coming back from atom.io |
Acknowledged, I'll take a look at this soon. |
I found a bug in the Atom.io API that has to do with how it checks GitHub for tags. I will update this issue when I have a fix out. |
@AbeEstrada do you mind giving this another try? I've made a small change in the relevant code that I believe should solve your problem. |
@thedaniel now I get this message:
Here is the package.json https://github.com/AbeEstrada/atom-hex/blob/master/package.json |
Well, actually that's great. This process has helped uncover more things to fix :) @AbeEstrada - would you mind trying once more? |
@thedaniel thanks
|
Wonderful. Thank you for the detailed report and your help testing the fixes. |
Hey,
I have an issue publishing my Atom theme.
Every time I try to publish my tag it fails with following output:
Acutally, the tag is available on GitHub:
I also tried to
apm login
several times with no luck (also re-created the API key)...In addition, I browsed some Atom.io discussions as well as older issues and did everything they recommended (re-login, re-publish, ...) but nothing worked for me...
I'm running Atom v0.108.0 on a Linux Mint. I installed Atom via the webupd8team PPA. In addition here's the output of
apm -v
:I actually don't know what to do next. Hope you guys can give me a hint...
Thanks in advance,
Michael
The text was updated successfully, but these errors were encountered: