fix: changelog URL

This commit is contained in:
Isaac 2023-05-31 21:20:18 +01:00
parent bba4c71596
commit 562e6b874d
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33

View File

@ -31,7 +31,7 @@ module.exports = client => {
if (currentRelease === -1) return client.log.warn('Failed to find current release');
const behind = currentRelease;
currentRelease = releases[currentRelease];
const changelog = `https://discordtickets.app/changelogs/v${latestVersion.replaceAll('.', '') }/`;
const changelog = `https://discordtickets.app/changelogs/v${latestVersion.replaceAll('.', '-') }/`;
const guide = 'https://discordtickets.app/self-hosting/updating/';
const { default: boxen } = await import('boxen');
@ -86,4 +86,4 @@ module.exports = client => {
client.log.warn('Failed to check for updates');
client.log.error(error);
});
};
};