Evan Prodromou

Evan Prodromou's avatar
Evan Prodromou
evan_at_social.openearth.org@momostr.pink
npub1fyup...mthu
Director of Open Technology at Open Earth Foundation Personal: https://prodromou.pub/@evan Public: https://cosocial.ca/@evan GitHub: https://github.com/evanp Pronouns: he/him
So, you learn something new every day. What I learned today is that the `sort` command has a `-V` flag that lets you sort by *version* *order*. So, it correctly sorts v1.8.2 before v1.21.1. It even takes into account prerelease tags like -dev and -rc.1. I was able to use it for sorting our git version tags for CityCatalyst really nicely.