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

🐛 Bug: Releases keep getting into "You cannot publish over the previously published versions" state #918

Closed
3 tasks done
JoshuaKGoldberg opened this issue Oct 1, 2023 · 1 comment
Labels
status: accepting prs Please, send a pull request to resolve this! type: bug Something isn't working :(

Comments

@JoshuaKGoldberg
Copy link
Owner

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Expected

Commits to main should trigger the release flow. That should publish a new commit if there was anything releasable (feat, fix, etc.).

Actual

The release flows each attempt to publish, but eventually start erroring with:

npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/create-typescript-app - You cannot publish over the previously published versions: 1.31.0.

Example: https://github.com/JoshuaKGoldberg/create-typescript-app/actions/runs/6369636845/job/17290047295

Additional Info

I'd previously tried to fix this in #876. I haven't looked deeply into why it's still happening. Irksome.

Running git pull; npm version patch; git push locally 1-2 times seems to fix it temporarily. But we should really have this fixed in the repo's tooling.

@JoshuaKGoldberg JoshuaKGoldberg added type: bug Something isn't working :( status: accepting prs Please, send a pull request to resolve this! labels Oct 1, 2023
@JoshuaKGoldberg
Copy link
Owner Author

I believe this has since been fixed by resolving all the issues with release permissions (#1790, #1838, etc.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepting prs Please, send a pull request to resolve this! type: bug Something isn't working :(
Projects
None yet
Development

No branches or pull requests

1 participant