Return the latest stable release that isn't a draft

Previously it used to return the latest git tag (which isn't necessarily the latest stable release).
Also fixed typo: compontent -> component.