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.` )