feat: support downloading goreleaser pro (#284)

This commit is contained in:
Carlos Alexandro Becker
2021-05-27 00:25:31 -03:00
committed by GitHub
parent a3b2f49e7c
commit 70eb4e573c
9 changed files with 140 additions and 47 deletions
+7
View File
@@ -0,0 +1,7 @@
export const suffix = (distribution: string): string => {
return isPro(distribution) ? '-pro' : '';
};
export const isPro = (distribution: string): boolean => {
return distribution === 'goreleaser-pro';
};