Skip to content

Commit e11d55a

Browse files
committed
ci: fetch git history
1 parent 6084f64 commit e11d55a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ jobs:
172172

173173
steps:
174174
- uses: actions/checkout@v3
175+
with:
176+
fetch-depth: 0
175177
- run: corepack enable
176178
- uses: actions/setup-node@v3
177179
with:

scripts/bump-edge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function main () {
1818

1919
const config = await loadChangelogConfig(process.cwd())
2020

21-
const latestTag = execaSync('git', ['describe', '--tags', '--abbrev=0', 'main']).stdout
21+
const latestTag = execaSync('git', ['describe', '--tags', '--abbrev=0']).stdout
2222

2323
const commits = await getGitDiff(latestTag)
2424
const bumpType = determineSemverChange(parseCommits(commits, config), config)

0 commit comments

Comments
 (0)