Fixed typo

This commit is contained in:
fastlorenzo 2020-11-04 20:49:51 +01:00
parent 6db5fd5557
commit a2dd3c607e
No known key found for this signature in database
GPG Key ID: 8AAAB58530EC2A31

2
src/meta.ts Normal file → Executable file
View File

@ -81,7 +81,7 @@ export class Meta {
const major: number = semver.major(semver.coerce(version.version));
const minor: number = semver.minor(semver.coerce(version.version));
const patch: number = semver.patch(semver.coerce(version.version));
const prerelease: string[] | null = semver.patch(version.version);
const prerelease: string[] | null = semver.prerelease(version.version);
tags.push(`${image}:${this.inputs.semverPrefix}${major}`);
tags.push(`${image}:${this.inputs.semverPrefix}${major}.${minor}`);
if (prerelease !== null) {