Commit Graph

12 Commits

Author SHA1 Message Date
Romain de Laage
8e24286ca3
chore: split internal package into multiple subpackages 2023-07-26 09:06:30 +02:00
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
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
8c30134f7c
error handling for upgrade and uninstall 2021-10-30 14:50:27 +02:00
33319a00ef
add arm for darwin 2021-04-26 13:15:58 +02:00
873170c6d1
fix auto update 2021-04-20 23:26:57 +02:00
e671780e54
fix version upgrade 2021-04-17 17:41:53 +02:00
976a3beab5
upgrade logic 2021-04-17 17:13:03 +02:00
3ccaee4066
cleaner output and ctrl-c 2021-04-12 16:15:17 +02:00
640b60c47f
current state 2021-04-12 10:55:57 +02:00
335724cce7
progress 2021-04-11 13:04:11 +02:00