mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-06-29 23:47:30 +00:00
feat!: use "~> v2" as default (#463)
* feat!: use "~> v2" as default Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: more changes Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * gen Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * docs: update * docs: update --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
5742e2a039
commit
18bbabc70c
@@ -28,6 +28,16 @@ describe('install', () => {
|
||||
expect(fs.existsSync(bin)).toBe(true);
|
||||
}, 100000);
|
||||
|
||||
it('acquires latest v2 version of GoReleaser', async () => {
|
||||
const bin = await goreleaser.install('goreleaser', '~> v2');
|
||||
expect(fs.existsSync(bin)).toBe(true);
|
||||
}, 100000);
|
||||
|
||||
it('acquires latest v2 version of GoReleaser Pro', async () => {
|
||||
const bin = await goreleaser.install('goreleaser-pro', '~> v2');
|
||||
expect(fs.existsSync(bin)).toBe(true);
|
||||
}, 100000);
|
||||
|
||||
it('acquires latest version of GoReleaser Pro', async () => {
|
||||
const bin = await goreleaser.install('goreleaser-pro', 'latest');
|
||||
expect(fs.existsSync(bin)).toBe(true);
|
||||
|
||||
Reference in New Issue
Block a user