zestsoftware / zest.releaser

Python software releasing made easy and repeatable
https://zestreleaser.readthedocs.io
GNU General Public License v2.0
198 stars 62 forks source link

When used as a library, a question should not be asked (corner case...) #289

Closed reinout closed 6 years ago

reinout commented 6 years ago

In https://github.com/lizardsystem/tags2sdists/issues/2 (Dutch, sorry), a corner case crops up. I use zest.releaser as a library there. Just for grabbing a list of available tags and so, not for actually releasing/tagging something.

If a checkout is exactly at a tag, you get a question ("Tag already exists. Do you really want to ..."). That question could be moved out of the .prepare() to the .execute() without inconveniencing zest.releaser.

reinout commented 6 years ago

Note: the changelog entry mentions http/https readthedocs urls. I accidentally fixed that on master, so that's not in this PR.... :-)