LinuxGSM
LinuxGSM copied to clipboard
[Bug]: Discord alert on update uses the old version not the new one
User story
As a user, I want the discord alert to tell me what version the game has been updated to
Game
Factorio
Linux distro
Debian 12
Command
command: update
Further information
When I run fctrserver update, it performs the update as expected. I have configured a discord webhook for notifiations, but the notification reports that the game has been updated to the old version instead of the new one
Relevant log output
~$ ./fctrserver update
[ OK ] Updating fctrserver: Checking for update: factorio.com
Update available
* Local build: 2.0.13 linux64
* Remote build: 2.0.14 linux64
* Branch: stable
####################################################################################################################################################### 100.0%####################################################################################################################################################### 100.0%
OK
extracting factorio_headless_linux64-2.0.14.tar.xz...OK
clearing LinuxGSM tmp directory...OK
[ OK ] Updating fctrserver: Sending Discord alert
Steps to reproduce
- Run
update(and update must actually be available as the notification does not send if no update is performed) - Wait for notification to send
- Observe notification and note the version reported in the message