We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5363e64 commit 95f5baeCopy full SHA for 95f5bae
goreleaserTask/src/utils.ts
@@ -98,18 +98,13 @@ export async function getGoReleaserCLI(version, distribution: string) {
98
);
99
if (version === 'latest') {
100
checkedVersion = semver.maxSatisfying(cleanTags, '*');
101
- if (isPro(distribution)) {
102
- checkedVersion += suffix(distribution);
103
- }
104
105
} else {
106
107
const cleanVersion: string = cleanTag(version);
108
checkedVersion =
109
- semver.maxSatisfying(cleanTags, cleanVersion) +
110
- suffix(distribution);
+ semver.maxSatisfying(cleanTags, cleanVersion)
111
}
112
-
113
const filename = getGoreleaserFilename(distribution, checkedVersion);
114
const downloadUrl = util.format(
115
'https://github.com/goreleaser/%s/releases/download/%s/%s',
0 commit comments