Closed mar1ged closed 1 year ago
I guess this is because when go-selfupdate
parses the directory specified by go-selfupdate nameofdirectory version
it only supports files and can not traverse subdirectories.
I tested this with a directory test
in which I put two files: test1
and test2
. After I ran ~/go/bin/go-selfupdate test 1.1
I found the expected directory named public
which contains these files:
When I instead use the name of a binary (like go-selfupdate nameofbinary 1.1
I get a public
directory with this content:
Something seems to be missing from the
README.md
. After I ran the mentionedgo get
command thego-selfupdate
binary is missing (or to be more concrete: can not be found on thePATH
)When I prefix the path to the binary it works, at least up to this: