Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
fix: version check used branch name as tag on workflow_dispatch
Tw93235e3d18731f
diff --git a/scripts/check-release-version.mjs b/scripts/check-release-version.mjsindex 4679af12..1bf87b79 100644--- a/scripts/check-release-version.mjs+++ b/scripts/check-release-version.mjs@@ -4,7 +4,11 @@ import fs from "node:fs";import path from "node:path";const root = process.cwd();-const tag = process.argv[2] || process.env.GITHUB_REF_NAME;+// Only trust GITHUB_REF_NAME when the workflow actually runs on a tag;+// on workflow_dispatch it holds the branch name, which is not a version.+const refTag =+ process.env.GITHUB_REF_TYPE === "tag" ? process.env.GITHUB_REF_NAME : "";+const tag = process.argv[2] || refTag;const errors = [];function readText(filePath) {