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

[publish-pr-preview] Not updating dependencies causes publish failure #79

Open
taras opened this issue Jul 13, 2022 · 0 comments
Open

Comments

@taras
Copy link
Member

taras commented Jul 13, 2022

We noticed that builds have been failing in https://github.com/thefrontside/backstage/pull/50

After some debugging, it turned out that this is called by a dependency that is not available in the registry. Here is how it happens, Package Versions PR contains versions in dependencies for package versions that haven't been published yet. When we run publish of previews, it fails because the dependant versions haven't been published yet.

This highlights 2 problems,

  1. We should be updating dependencies with versions using preview versions that we're publishing.
  2. We should be publishing in order dependencies before dependents
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

1 participant