-
Notifications
You must be signed in to change notification settings - Fork 294
Make error message better after deleting/recreating the repo behind a package #757
Comments
Sorry for the trouble @shroudedcode - it looks like the issue is with https://github.com/shroudedcode/semantic-release-apm-example yes? Can you confirm if you published that package and then deleted/re-created the repository? I'm wondering if you're hitting the situation described in #707 (comment). |
Yeah ... seems like I re-created the repository at some point while trying things out.
Looks very similar, I also tried the suggested fix ( While my issue is now solved, I think that you should add more telling error messages to prevent this from happening in the future, something like this:
This way it's clear that nothing is wrong with the tag/tarball, but that the wrong repository is linked. |
I was desperately trying to publish a fork of markdown-preview-enhanced now and wasted more than an hour. Here's what I saw no matter what options etc. I tried:
I did all possible sane and insane things such as unpublishing the package, adding or removing |
Edit by @rsese
We found that the issue is if you publish a package but then delete and recreate the repository, if you then try to publish another version of your package you can get a confusing
Creating new version failed: Git tag not found
error.You have to unpublish the package first and then publish to get around the error but it's not clear what the issue is from the error message.
x-ref: #707 and Jason's comment /cc #707 (comment) for more background.
Prerequisites
Description
I'm currently working on a @semantic-release plugin for apm that has to publish a package based on an existing tag set by it. Whatever I try I don't seem to get it to work,
apm publish --tag vX.Y.Z
throws an error saying the tag doesn't exist although it clearly does.Steps to Reproduce
Expected behavior:
The package gets successfully published.
Actual behavior:
Reproduces how often: 100%
Versions
on
Ubuntu 16.04.3 LTS
The text was updated successfully, but these errors were encountered: