fix(ci): update builds to display nightly

This commit is contained in:
7w1 committed 2026-07-20 23:23:04 -05:00
1 parent 19c6ea300d
commit f72eb6cfea
5 files changed
+23 -6

No files matched your search

+3
View File
@@ -24,6 +24,9 @@ if (updaterEndpoint && !updaterEndpoint.startsWith('https://')) {
const file = 'src-tauri/tauri.conf.json';
const config = JSON.parse(readFileSync(file, 'utf8'));
config.version = version;
if (version.includes('nightly')) {
config.productName = 'Sable Nightly';
}
if (updaterEndpoint) {
config.plugins.updater.endpoints = [updaterEndpoint];
}