deshack / melany

Melany, a simple responsive WordPress theme focused on content, everywhere.
melany.deshack.net
GNU General Public License v3.0
17 stars 7 forks source link

Wrong version order #230

Open deshack opened 10 years ago

deshack commented 10 years ago

clean.sh creates the package name from git tags, using the sort command, which is passed the -V option, allowing a version ordering.

The problem is with pre-releases.

E.g. v1.1.0-beta comes after v1.1.0

Therefore, when you release a new stable version, the package name will still be vx.x.x-pre.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3668552-wrong-version-order?utm_campaign=plugin&utm_content=tracker%2F972380&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F972380&utm_medium=issues&utm_source=github).
deshack commented 10 years ago

See http://stackoverflow.com/questions/10929453/bash-scripting-read-file-line-by-line