Skip to content

Commit 306e5e0

Browse files
fix: revert
1 parent ca999ec commit 306e5e0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/utils.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ export const normalizeVersion = (version: string, options?: { fill?: boolean; cu
7878

7979
export const isValidSemanticVersioning = (version: string, strict?: boolean): boolean => parseVersion(version, {strict}) !== undefined;
8080

81+
/* istanbul ignore next */
82+
/*
83+
* @deprecated Use isValidSemanticVersioning
84+
*/
85+
export const isSemanticVersioningTagName = (version: string): boolean => isValidSemanticVersioning(version);
86+
8187
export const isRef = (ref: string | RefObject): boolean => /^refs\//.test(getRef(ref));
8288

8389
export const isBranch = (ref: string | RefObject): boolean => /^refs\/heads\//.test(getRef(ref));

0 commit comments

Comments
 (0)