mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-07-08 13:37:30 +00:00
fix: more changes
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user