| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| fi | ||
|
|
||
| # Package not already published to registries | ||
| if command -v curl >/dev/null 2>&1; then |
There was a problem hiding this comment.
I think command here is checking if curl is installed? Isn't that check done above?
Sorry, something went wrong.
There was a problem hiding this comment.
In fact aren't all of those checks redundant?
Sorry, something went wrong.
There was a problem hiding this comment.
I think command here is checking if curl is installed? Isn't that check done above?
It was missing from the list, I can add it there instead, good call.
In fact aren't all of those checks redundant?
They just help to keep output clean so if the tool is missing, we don't get additional bogus error messages. Note, the release script reports all startup errors before exiting, rather than exiting after the first error. With curl the checks were positive (if curl -sf ...), so it fails silently either way, i.e. was safe to delete.
Sorry, something went wrong.
There was a problem hiding this comment.
Were you going to push an update?
Sorry, something went wrong.
There was a problem hiding this comment.
Whoops, pushed now, thanks!
Sorry, something went wrong.
…ished packages The preflight checks now verify that: - Local HEAD matches the upstream main branch - The release tag doesn't exist on the remote (not just locally) - The version hasn't already been published to npm, PyPI, or crates.io Also updates the partial-failure recovery guidance in RELEASING.md to reflect that none of the registries allow re-publishing, and recommends incrementing the patch version rather than trying to re-run failed steps. Fixes json-e#577, fixes json-e#578, fixes json-e#580. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Closing this in favour of #591 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Fixes #577, fixes #578, fixes #580.
Test plan
These checks require running ./release.sh on main with release tooling installed. Registry URL checks were verified independently via curl:
🤖 Generated with Claude Code