Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Discord alert on update uses the old version not the new one #4696

Open
fontivan opened this issue Nov 3, 2024 · 1 comment
Open

Comments

@fontivan
Copy link

fontivan commented Nov 3, 2024

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

  1. Run update (and update must actually be available as the notification does not send if no update is performed)
  2. Wait for notification to send
  3. Observe notification and note the version reported in the message
@fontivan
Copy link
Author

fontivan commented Nov 3, 2024

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New Issues
Development

No branches or pull requests

1 participant