Skip to content

Commit

Permalink
feat: implement (optional) semver parsing of version
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Jun 14, 2020
1 parent 6da65e1 commit c5885ab
Show file tree
Hide file tree
Showing 4 changed files with 1,551 additions and 2 deletions.
5 changes: 5 additions & 0 deletions __tests__/github.test.ts
Expand Up @@ -11,4 +11,9 @@ describe('github', () => {
expect(release).not.toBeNull();
expect(release?.tag_name).toEqual('v0.117.0');
});
it('returns v0.132.1 GoReleaser GitHub release', async () => {
const release = await github.getRelease('~> 0.132');
expect(release).not.toBeNull();
expect(release?.tag_name).toEqual('v0.132.1');
});
});

0 comments on commit c5885ab

Please sign in to comment.