I am working on a CI build for a hugo site. I have used CURL to grab the latest 0.21 release, and then am trying to extract the executable.
I have tried:
tar -xvzf hugo_0.21_Linux-64bit.tar.gz (what i would expect would work for a .tar.gz extension)
tar -xvf hugo_0.21_Linux-64bit.tar.gz (after getting a complaint that the stream was not in gzip format)
This is complicated somewhat by the fact that I am trying to do this as part of a VSTS (visualstudio.com) build pipeline. I don’t think there is a clean way (on the hosted build) to just fiddle with the CLI commands involved…i have to update the build and see if it works.
Can anyone confirm this issue? Is this release file borked? Or is is possibly a function of the VSTS hosted linux build agent? Have i missed something in the commands I am trying? To my knowledge, the underlying box is some sort of vanilla ubuntu-based docker image…
Anyway…Thanks for your consideration!