From 55e582b23e1f50a9d5178e4fdde26558311b31a7 Mon Sep 17 00:00:00 2001 From: Edwin Sirko Date: Fri, 26 Jan 2024 13:07:11 -0500 Subject: [PATCH] resolved a TODO item about semver --- src/main.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 8a6a1d2..7a661ec 100644 --- a/src/main.ts +++ b/src/main.ts @@ -31,7 +31,6 @@ export async function run(pathInput: string): Promise { // https://docs.github.com/en/actions/creating-actions/releasing-and-maintaining-actions const targetVersion = semver.parse(releaseTag.replace(/^v/, '')) if (!targetVersion) { - // TODO: We may want to limit semvers to only x.x.x, without the pre-release tags, but for now we'll allow them. core.setFailed( `${releaseTag} is not a valid semantic version, and so cannot be uploaded as an Immutable Action.` )