[CI] Ignore .dev suffix on publish check
This allows simply tagging .dev versions without having to keep the poetry package version in sync.
If the tagged version has an additional .dev suffix, the tag version is set in poetry before publishing the release.