melany icon indicating copy to clipboard operation
melany copied to clipboard

Wrong version order

Open deshack opened this issue 10 years ago • 1 comments

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 avatar Aug 11 '14 17:08 deshack

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

deshack avatar Aug 11 '14 17:08 deshack