mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-06-29 22:37:30 +00:00
fix: Use GITHUB_REF to retrieve tag before checking the most recent tag (#238)
* fix: Use GITHUB_REF to retrieve tag before checking the most recent tag (#238) * Update tests * Check also tags sorted by creatordate for the current GITHUB_SHA * fix: Check tags length Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -5,6 +5,7 @@ describe('github', () => {
|
||||
const release = await github.getRelease('latest');
|
||||
expect(release).not.toBeNull();
|
||||
expect(release?.tag_name).not.toEqual('');
|
||||
console.log(`tag_name: ${release?.tag_name}`);
|
||||
});
|
||||
it('returns v0.117.0 GoReleaser GitHub release', async () => {
|
||||
const release = await github.getRelease('v0.117.0');
|
||||
|
||||
Reference in New Issue
Block a user