mautrix / whatsapp

A Matrix-WhatsApp puppeting bridge
https://maunium.net/go/mautrix-whatsapp
GNU Affero General Public License v3.0
1.26k stars 172 forks source link

upgrade v0.10.5 : always v0.10.4 after upgrade #679

Closed hafx closed 9 months ago

hafx commented 9 months ago

Hi, I'm using this bridge with systemd since 2 years.

I upgrade the bridge with :

whatsapp@services:~$ systemctl stop mautrix-whatsapp
whatsapp@services:~$ git pull 
whatsapp@services:~$ ./build.sh 
go: downloading go.mau.fi/whatsmeow v0.0.0-20231216213200-9d803dd92735
go: downloading golang.org/x/exp v0.0.0-20231214170342-aacd6d4b4611
go: downloading github.com/mattn/go-sqlite3 v1.14.19
# maunium.net/go/mautrix-whatsapp
./historysync.go:461:22: undefined: sync.OnceFunc
whatsapp@services:~$ systemctl start mautrix-whatsapp

When I try to see the version with the version command with the whatsapp bot, the version don't change. It is always the v0.10.4

Why this line is commented in the output ?

# maunium.net/go/mautrix-whatsapp

Thanks