Skip to content

Commit

Permalink
ci: fetch git history
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 3, 2023
1 parent 6084f64 commit e11d55a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion scripts/bump-edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function main () {

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

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

const commits = await getGitDiff(latestTag)
const bumpType = determineSemverChange(parseCommits(commits, config), config)
Expand Down

0 comments on commit e11d55a

Please sign in to comment.