mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-06-29 23:47:30 +00:00
feat: support oss nightlies (#424)
* feat: support oss nightlies Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: test --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
920a7cbd0a
commit
c7c9447c79
+1
-1
@@ -15,7 +15,7 @@ export const getRelease = async (distribution: string, version: string): Promise
|
||||
};
|
||||
|
||||
export const getReleaseTag = async (distribution: string, version: string): Promise<GitHubRelease> => {
|
||||
if (distribution === 'goreleaser-pro' && version === 'nightly') {
|
||||
if (version === 'nightly') {
|
||||
return {tag_name: version};
|
||||
}
|
||||
const tag: string = (await resolveVersion(distribution, version)) || version;
|
||||
|
||||
Reference in New Issue
Block a user