Refactor Hugo version
authorbep <bjorn.erik.pedersen@gmail.com>
Wed, 18 Mar 2015 11:23:13 +0000 (12:23 +0100)
committerbep <bjorn.erik.pedersen@gmail.com>
Wed, 18 Mar 2015 11:23:13 +0000 (12:23 +0100)
commit3273fce044f06f90ae296f9b42431958d2b06e7f
tree4556f7b1c7ffa73d53d3d5d08214999c095868c7
parent49f20bbc9bf4eb9ecedfa0fd9dde484256ae91d1
Refactor Hugo version

Put version handling into the helpers package so it can be used by many,
and split version and suffix to make it possible to calculate the next Hugo version.
commands/version.go
helpers/hugo.go [new file with mode: 0644]
helpers/hugo_test.go [new file with mode: 0644]
hugolib/hugo.go