From c527b1b1caaacde7e65d3a47ce93e06422d29df0 Mon Sep 17 00:00:00 2001 From: fastlorenzo Date: Wed, 4 Nov 2020 20:53:15 +0100 Subject: [PATCH] Added build --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 3d3ddda..c2db154 100644 --- a/dist/index.js +++ b/dist/index.js @@ -238,7 +238,7 @@ class Meta { const major = semver.major(semver.coerce(version.version)); const minor = semver.minor(semver.coerce(version.version)); const patch = semver.patch(semver.coerce(version.version)); - const prerelease = semver.patch(version.version); + const prerelease = semver.prerelease(version.version); tags.push(`${image}:${this.inputs.semverPrefix}${major}`); tags.push(`${image}:${this.inputs.semverPrefix}${major}.${minor}`); if (prerelease !== null) {