The version number that is displayed when running eget -v on version v1.1.0 shows the wrong version when building with go build or go install.
Steps to reproduce
Method 1
Run:
go install github.com/zyedidia/eget@v1.1.0
Method 2
Download the latest release (v1.1.0) zip on the releases page.
Then, navigate to the directory with the zip file in it, and run:
unzip eget-1.1.0.zip
cd eget-1.1.0/
go install
Result
Regardless of which method you used, run:
~/go/bin/eget -v
Output
eget version 1.0.1+src
Expected Output
eget version 1.1.0+src
How to fix
It looks like the version number wasn't updated in version.go. This should be able to be resolved by releasing a new v1.1.1 release with the version number set correctly.
The version number that is displayed when running
eget -v
on versionv1.1.0
shows the wrong version when building withgo build
orgo install
.Steps to reproduce
Method 1
Run:
Method 2
Download the latest release (v1.1.0) zip on the releases page. Then, navigate to the directory with the zip file in it, and run:
Result
Regardless of which method you used, run:
Output
Expected Output
How to fix
It looks like the version number wasn't updated in
version.go
. This should be able to be resolved by releasing a newv1.1.1
release with the version number set correctly.See also #31.