diff --git a/Releaser/Program.cs b/Releaser/Program.cs
index 6ca1ca2..79085b8 100644
--- a/Releaser/Program.cs
+++ b/Releaser/Program.cs
@@ -9,6 +9,16 @@ if (!Version.TryParse(version, out _))
return 0xDEAD;
}
+using var client = new HttpClient();
+
+var response = await client.GetAsync($"https://github.com/electron/electron/releases/tag/v{version}");
+if (!response.IsSuccessStatusCode)
+{
+ Console.WriteLine($"Version not found on GitHub : {version}");
+ return 0xDEAD;
+}
+
+
var yamlFile = Path.GetFullPath("../.devops/build-nuget.yaml");
var csFile = Path.GetFullPath("../ElectronNET.CLI/Commands/BuildCommand.cs");
var packageFile = Path.GetFullPath("../ElectronNET.Host/package.json");
diff --git a/Releaser/Releaser.csproj b/Releaser/Releaser.csproj
index 74abf5c..fb76edd 100644
--- a/Releaser/Releaser.csproj
+++ b/Releaser/Releaser.csproj
@@ -4,7 +4,6 @@
Exe
net6.0
enable
- enable