Update dotnet build lines

This commit is contained in:
Natsumi
2025-09-04 04:24:54 +12:00
parent 6aa544ea7a
commit fd217f12b4
3 changed files with 7 additions and 6 deletions

View File

@@ -13,6 +13,9 @@ try {
// Remove time part from version
version = version.substring(0, index).replaceAll('-', '.');
}
if (!version || version === 'Nightly Build') {
version = new Date().toISOString().split('T')[0].replaceAll('-', '.');
}
} catch (err) {
console.error('Error reading Version file:', err);
process.exit(1);