samvera-deprecated / hydra

Project Hydra Stack Dependencies
Other
83 stars 30 forks source link

changelog.sh doesn't get correct last version when there are prereleases #30

Closed jcoyne closed 10 years ago

jcoyne commented 10 years ago

If the following tags exist: v3.4.0 v3.4.0.rc1 v3.4.0.rc2 v3.4.0.rc3 v3.4.0.rc4

then it thinks v3.4.0.rc4 is the most recent. The correct value is v3.4.0

jcoyne commented 10 years ago

this would work better: git describe --abbrev=0 --tags