Ignore tags of non stable releases when generating changelogs
This came up during review of gitlab-org/gitlab!54832 (merged): we create tags for RCs. When leaving out the to
option when generating a changelog, we don't filter out any pre-release tags. As a result, generating the changelog for a new minor release would result in the to
argument being set to the last RC tag; not the last tag of the previous patch release.
To fix this, we need to skip pre release/beta/etc tags.
Edited by Yorick Peterse