metomi / isodatetime

:date: :watch: Python ISO 8601 date time parser and data model/manipulation utilities
GNU Lesser General Public License v3.0
37 stars 20 forks source link

GH Actions: Release stage 1 version checking #179

Closed MetRonnie closed 4 years ago

MetRonnie commented 4 years ago

In https://github.com/metomi/isodatetime/blob/65d03e95cdcf303a54025853d7b02dd34dd4622d/.github/workflows/create_release_pr.yml#L84-L96

we should probably use Python's packaging.version.Version() for comparing versions, instead of just the strings, as things like 1.0 are implicitly the same as 1.0.0