fix: more changes

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker
2024-05-26 14:58:02 -03:00
parent fea4ca2b14
commit 2d86541f03
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ export interface GitHubRelease {
export const getRelease = async (distribution: string, version: string): Promise<GitHubRelease> => {
if (version === 'latest') {
core.warning("You are using 'latest' as default version. Will lock to '~> v2'.");
return getReleaseTag(distribution, '~> v1');
return getReleaseTag(distribution, '~> v2');
}
return getReleaseTag(distribution, version);
};