wrouesnel / p2cli

pongo2 cli - like the j2cli package in python, but compiles to self-contained go executables
GNU General Public License v2.0
87 stars 19 forks source link

Wrong version output #50

Closed dani closed 1 year ago

dani commented 1 year ago

Just installed r14 (using the pre-built binary on linux-amd64). But the output of p2 --version is incorrect

[dbd@laptop-103 ~]$ p2 --version
r13-4-gbc5fdbe
[dbd@laptop-103 ~]$ 

While not a big issue, I'd like to use this output to check if I'm running the latest version (comparing with tag_name from https://api.github.com/repos/wrouesnel/p2cli/releases/latest), and auto-update it if needed

wrouesnel commented 1 year ago

Closed by #52