You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The publish flow for beachball is currently as follows:
bump packages locally
publish to npm
push to git
Currently when publishing packages, if the git auth is invalid (due to an expired token, incorrect URL, or other issue), this will result in the repo being out of sync with the published versions.
Therefore, it would be good to add a step prior to npm publish to check the validity of the github auth. I'm not sure what the best command would be to do this, since it appears that git fetch (which is run prior to publishing) succeeds for public repos even with an expired token.
The text was updated successfully, but these errors were encountered:
ecraig12345
changed the title
Add pre-publish step to check validity of github auth
Add pre-publish step to check validity of git auth
Sep 16, 2022
The publish flow for beachball is currently as follows:
Currently when publishing packages, if the git auth is invalid (due to an expired token, incorrect URL, or other issue), this will result in the repo being out of sync with the published versions.
Therefore, it would be good to add a step prior to
npm publish
to check the validity of the github auth. I'm not sure what the best command would be to do this, since it appears thatgit fetch
(which is run prior to publishing) succeeds for public repos even with an expired token.The text was updated successfully, but these errors were encountered: