Open Pharb opened 3 years ago
gopass itself updates the file version.go
on every release. This is then checked in to git and available when fetching with go get
.
I've update the post-release helper in gopasspw/gopass to also write a version.go
into the integrations. This should be automatically fixed with the next release.
Summary
"go get" installation does not handle version and produces binary incompatible with gopassbridge (version mismatch).
Steps To Reproduce
The first problem is this error complaining about uninitialized gopass store. If possible it shouldn't be necessary to have an initialized store to run "help", "version" or "configure".
Second error only happens when using "go get" for to compile the binary:
Expected behavior
Following command completes successfully and outputs the latest released version of gopass-jsonapi:
Environment
Additional context
see discussion from https://github.com/gopasspw/gopassbridge/issues/171#issuecomment-789670449