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
We had an issue where it failed to publish to NPM due to a 404 issue. I believe this is an issue to do with NPM, however the issue I now have is that commits and tags have been created in my Github project. This means I can't just run the workflow again, as it will bump the package versions again, which isn't what we want. I can delete the tags, and revert the commits but that's not ideal.
I've tried to look at the various arguments available but there doesn't seem to be anything to perform publish only. Is there any recommended path to take if this happens?
We're running the following command as part of a Github Actions workflow:
Just fyi: If you try something like above, be aware that concurrent commits to your main branch will break the above workflow. This may due to concurrent runs of your release pipeline, or something pushing directly to your main branch. You may end up with a package release to npm without release commit & tag being pushed to your main branch.
I personally find it much easier to have tested & tagged commits in git and have an additional manually-run workflow that, given a tag name, (re)publishes this tag as a package to npm in case a previous publish failed.
We had an issue where it failed to publish to NPM due to a 404 issue. I believe this is an issue to do with NPM, however the issue I now have is that commits and tags have been created in my Github project. This means I can't just run the workflow again, as it will bump the package versions again, which isn't what we want. I can delete the tags, and revert the commits but that's not ideal.
I've tried to look at the various arguments available but there doesn't seem to be anything to perform publish only. Is there any recommended path to take if this happens?
We're running the following command as part of a Github Actions workflow:
npx nx affected --target=version --base=last-release --configuration=release --parallel=1
This is our Github actions workflow for reference:
The text was updated successfully, but these errors were encountered: