mirror of
https://github.com/docker/metadata-action.git
synced 2025-04-04 09:10:25 +02:00
Fixed typo
This commit is contained in:
parent
6db5fd5557
commit
a2dd3c607e
2
src/meta.ts
Normal file → Executable file
2
src/meta.ts
Normal file → Executable 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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user