Sort stdin by semver
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 2.7KB

2 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # svsort
  2. Sort lines of text that begin with semver.
  3. ## Example
  4. ```bash
  5. $ git tag -n
  6. 0.0.1 Merge pull request #55 from prometheus/update-makefile
  7. 0.0.2 Merge pull request #73 from prometheus/version-0.0.2
  8. 0.0.3 Merge pull request #76 from prometheus/v0.0.3
  9. 0.0.4 Cut version 0.0.4.
  10. 0.1.0 Bump version to 0.1.0
  11. 0.1.0-alpha Enable YAML highlighting in example config
  12. 0.1.0-beta0 Bump version to 0.1.0-beta0
  13. 0.1.0-beta1 Bump beta version
  14. 0.1.0-beta2 Add 0.1.0beta2 changelog
  15. 0.1.0beta2 Add 0.1.0beta2 changelog
  16. 0.1.1 Bump version to 0.1.1
  17. 0.2.0 Merge pull request #386 from prometheus/fabxc-0.2.0
  18. 0.2.1 Merge pull request #405 from prometheus/fabxc-0.2.1
  19. v0.10.0 v0.10.0
  20. v0.11.0 0.11.0 (#1109)
  21. v0.3.0 Merge pull request #422 from prometheus/fabxc-0.3.0
  22. v0.4.0 Bump version to 0.4 (#469)
  23. v0.4.1 v0.4.1 / 2016-08-31
  24. v0.4.2 v0.4.2 / 2016-09-02
  25. v0.5.0 Cut 0.5.0 (#543)
  26. v0.5.0-alpha.0 *: fix version
  27. v0.5.0-beta.0 Merge pull request #527 from brancz/master
  28. v0.5.1 *: cut v0.5.1 (#569)
  29. v0.6.0 Cut v0.6.0
  30. v0.6.1 v0.6.1
  31. v0.6.2 *: cut v0.6.2 (#777)
  32. v0.7.0 v0.7.0
  33. v0.7.0-rc.0 v0.7.0-rc.0
  34. v0.7.1 v0.7.1
  35. v0.8.0 v0.8.0
  36. v0.9.0 Add release-0.9 (#1004)
  37. v0.9.1 v0.9.1 (#1010)
  38. $ git tag -n | svsort
  39. 0.0.1 Merge pull request #55 from prometheus/update-makefile
  40. 0.0.2 Merge pull request #73 from prometheus/version-0.0.2
  41. 0.0.3 Merge pull request #76 from prometheus/v0.0.3
  42. 0.0.4 Cut version 0.0.4.
  43. 0.1.0-alpha Enable YAML highlighting in example config
  44. 0.1.0-beta0 Bump version to 0.1.0-beta0
  45. 0.1.0-beta1 Bump beta version
  46. 0.1.0-beta2 Add 0.1.0beta2 changelog
  47. 0.1.0 Bump version to 0.1.0
  48. 0.1.1 Bump version to 0.1.1
  49. 0.2.0 Merge pull request #386 from prometheus/fabxc-0.2.0
  50. 0.2.1 Merge pull request #405 from prometheus/fabxc-0.2.1
  51. v0.3.0 Merge pull request #422 from prometheus/fabxc-0.3.0
  52. v0.4.0 Bump version to 0.4 (#469)
  53. v0.4.1 v0.4.1 / 2016-08-31
  54. v0.4.2 v0.4.2 / 2016-09-02
  55. v0.5.0-alpha.0 *: fix version
  56. v0.5.0-beta.0 Merge pull request #527 from brancz/master
  57. v0.5.0 Cut 0.5.0 (#543)
  58. v0.5.1 *: cut v0.5.1 (#569)
  59. v0.6.0 Cut v0.6.0
  60. v0.6.1 v0.6.1
  61. v0.6.2 *: cut v0.6.2 (#777)
  62. v0.7.0-rc.0 v0.7.0-rc.0
  63. v0.7.0 v0.7.0
  64. v0.7.1 v0.7.1
  65. v0.8.0 v0.8.0
  66. v0.9.0 Add release-0.9 (#1004)
  67. v0.9.1 v0.9.1 (#1010)
  68. v0.10.0 v0.10.0
  69. v0.11.0 0.11.0 (#1109)
  70. ```