mirror of
https://github.com/goreleaser/goreleaser-action.git
synced 2026-05-20 01:11:53 +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:
parent
920a7cbd0a
commit
c7c9447c79
5 changed files with 11 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue