mirror of
https://github.com/goreleaser/goreleaser-action.git
synced 2026-05-18 08:21:53 +00:00
feat: support nightly (#419)
* feat: support nightly Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * chore: nightly test Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * chore: typo Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
37247345b4
commit
336e29918d
5 changed files with 48 additions and 2 deletions
|
|
@ -32,6 +32,12 @@ describe('getRelease', () => {
|
|||
expect(release?.tag_name).not.toEqual('');
|
||||
});
|
||||
|
||||
it('returns nightly GoReleaser Pro GitHub release', async () => {
|
||||
const release = await github.getRelease('goreleaser-pro', 'nightly');
|
||||
expect(release).not.toBeNull();
|
||||
expect(release?.tag_name).not.toEqual('');
|
||||
});
|
||||
|
||||
it('returns v0.182.0 GoReleaser Pro GitHub release', async () => {
|
||||
const release = await github.getRelease('goreleaser-pro', 'v0.182.0');
|
||||
expect(release).not.toBeNull();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue