mootools / website

MooTools Website - move fast and break things
https://mootools.net
45 stars 31 forks source link

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

Closed timwienk closed 7 years ago

timwienk commented 8 years ago

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.