Continuous delivery for your open-source library
If you are building a software library, I suggest creating and pushing out new versions on every commit on main. I like continuous integration, continuous deployment, and continuous delivery. I like it when creating business applications, side projects, and helper tools, and I see no reason why library development should be any different.