🚧 Work in progress
Print changelog of a Hex package.
Demo:
Entire changelog:
$ changelog ecto
## 2.2.8 - 2018-01-13
(...)
Changelog for just one version:
$ changelog ecto 2.2.0
## 2.2.0 - 2017-08-22
(...)
$ changelog ecto latest
## 2.2.8 - 2018-01-13
(...)
Changelog between versions:
$ changelog ecto 2.2.6 2.2.7
## 2.2.7 - 2017-12-03
(...)
## 2.2.6 - 2017-09-30
$ changelog ecto 2.2.6 latest
## 2.2.8 - 2018-01-13
(...)
## 2.2.7 - 2017-12-03
(...)
## 2.2.6 - 2017-09-30
(...)
We can also fetch changelog directly from GitHub:
$ changelog github:elixir-ecto/ecto
## 3.0.0-dev
(...)
This way we can see, you guessed it, changelog's changelog:
$ changelog github:wojtekmach/changelog
## 0.1.0-dev
* Initial release
$ mix escript.install github wojtekmach/changelog