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

Snapshot release fails if repository is in pre-release mode #1195

Open
alvrs opened this issue Jul 27, 2023 · 1 comment
Open

Snapshot release fails if repository is in pre-release mode #1195

alvrs opened this issue Jul 27, 2023 · 1 comment

Comments

@alvrs
Copy link

alvrs commented Jul 27, 2023

It seems like it is not possible to create snapshot releases if the repository is in the prerelease mode.

🦋  warn ===============================IMPORTANT!===============================
🦋  error Snapshot release is not allowed in pre mode
🦋  To resolve this exit the pre mode by running `changeset pre exit`

(see https://github.com/latticexyz/mud/actions/runs/5683670374/job/15404709041#step:7:17)

What is the reason this is not allowed?

@alessbell
Copy link

alessbell commented Aug 3, 2023

Fwiw @alvrs I've worked around this by detecting and removing pre.json to allow snapshot releases from PRs made against a long-running prerelease branch. Also not sure why the restriction exists but we've been using this workaround very happily now for many months and almost forgot it was there (edit: I see you're already doing that 🙂)

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

2 participants