mootools / website

MooTools Website - move fast and break things

Home Page:https://mootools.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't create (or remove) repository when failed to check out tag

timwienk opened this issue · comments

Currently, when a repository for a specific version of Core or More is cloned and the tag is checked out, and the tag does not exist, it does error, but the repository still exists (and stays on master). Next time it attempts to build, it doesn't complain and just keeps what it has (the repository on master).

I guess, now we know this, we can prevent it by removing the repository manually, but it'd be better to prevent it from happening programmatically.

See mootools/mootools-core#2762.