changesets / action

682 stars 242 forks source link

Push Tags and Github Releases on Partial Publish Success #401

Open johnameyer opened 2 weeks ago

johnameyer commented 2 weeks ago

It might be possible that some packages fail to publish while other packages do successfully publish. In this case, the current action behavior will bail out and skip pushing tags and the Github release notes. This can be an issue when retrying, as those packages will never then be pushed to Github while the ones that previously failed will.

E.g. https://github.com/johnameyer/cards-ts/actions/runs/10842151215/job/30087321749

🦋 success packages published successfully: 🦋 @cards-ts/core@0.8.0 🦋 Creating git tag... 🦋 New tag: @cards-ts/core@0.8.0 🦋 error packages failed to publish: 🦋 @cards-ts/can-i-have-that@0.8.0 🦋 @cards-ts/euchre@0.8.0 🦋 @cards-ts/hearts@0.8.0 🦋 @cards-ts/war@0.8.0