mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-28 07:14:40 +08:00
chore: publish tag alpha support
chore: update alpha and release workflows to include version consistency checks
This commit is contained in:
@@ -29,7 +29,7 @@ const runRelease = () =>
|
||||
|
||||
// 2. 判断是否需要打 tag
|
||||
function isSemver(version) {
|
||||
return /^v?\d+\.\d+\.\d+(-alpha)?$/.test(version);
|
||||
return /^v?\d+\.\d+\.\d+(-[0-9A-Za-z-.]+)?$/.test(version);
|
||||
}
|
||||
|
||||
async function run() {
|
||||
|
||||
Reference in New Issue
Block a user