Skip to content

Commit

Permalink
feat: add commit hash (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
LingyuCoder committed Sep 13, 2024
1 parent e19f5fe commit 03e7207
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export async function setupRepo(options: RepoOptions) {
if (tag || commit) {
await $`git reset --hard ${tag || commit}`
}
await $`git log -1 --format='%H'`
}
}

Expand Down

0 comments on commit 03e7207

Please sign in to comment.