Commit Graph

12 Commits

Author SHA1 Message Date
Romain de Laage bbb1c85cad
Fix upgrade command (#259)
fix #191

Co-authored-by: Romain de Laage <romain.delaage@rdelaage.ovh>
2024-02-15 14:27:37 +01:00
Nicco 5bcf5c9217
1.7.0 (#188)
* stream the output (#186)

* dont duplicate global flags (#187)

* docs for tagging

* fix self update path (#190)

* version bump & changelog
2022-04-27 00:48:52 +02:00
Nicco 434862ed4e
1.6.0 (#180)
* fix for #178

* restore options

* error codes

* update docs

* forget docs

* add option to auto forget

* add copy option

* update go version to enable generics

* copy docs

* changelog & version bump
2022-04-14 11:51:32 +02:00
Gavin Chappell 389f7c25dd refactor downloading of binaries
* If `/tmp` is a `tmpfs` or somehow not the same filesystem, `os.Rename()` will fail so use `io.Copy()` instead
* don't defer cleanup of `to` as this removes the newly-created file if the operation is successful, making `install` and `upgrade` _functionally_ `uninstall`
* defer cleanup of the temporary file since it will still be in place if `os.Rename()` fails

Fixes: #130
2021-11-20 19:30:46 +00:00
cupcakearmy 8c30134f7c
error handling for upgrade and uninstall 2021-10-30 14:50:27 +02:00
cupcakearmy 33319a00ef
add arm for darwin 2021-04-26 13:15:58 +02:00
cupcakearmy 873170c6d1
fix auto update 2021-04-20 23:26:57 +02:00
cupcakearmy e671780e54
fix version upgrade 2021-04-17 17:41:53 +02:00
cupcakearmy 976a3beab5
upgrade logic 2021-04-17 17:13:03 +02:00
cupcakearmy 3ccaee4066
cleaner output and ctrl-c 2021-04-12 16:15:17 +02:00
cupcakearmy 640b60c47f
current state 2021-04-12 10:55:57 +02:00
cupcakearmy 335724cce7
progress 2021-04-11 13:04:11 +02:00