Skip to content

Commit 14aea6c

Browse files
authored
Ensure tags are fetched in release workflow (#31)
1 parent 0b3759f commit 14aea6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ jobs:
7171
- name: Checkout repository
7272
uses: actions/checkout@v4
7373
with:
74+
# This is to guarantee that the most recent tag is fetched, which we
75+
# need for updating the shorthand major version tag.
76+
fetch-depth: 0
7477
ref: ${{ github.sha }}
7578
- name: Publish release
7679
uses: MetaMask/action-publish-release@v3

0 commit comments

Comments
 (0)