iconoir icon indicating copy to clipboard operation
iconoir copied to clipboard

[CI] Don't publish NPM versions if they already exist.

Open sammarks opened this issue 2 years ago • 1 comments

Just a mental note for me to remember to do this; it's cumbersome having to create new versions when debugging releases (like Flutter) simply to avoid the error we get when publishing over an existing NPM package version.

Just need to skip that publish step if the version already exists.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

sammarks avatar Jul 05 '22 16:07 sammarks

Brute-force solution implemented currently, where we just ignore the publish step if it fails. Obviously, not a great solution, but for the purposes of getting the website up and running, it works :)

sammarks avatar Aug 28 '22 18:08 sammarks