Skip to content

Commit

Permalink
Revert "Get latest tag"
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger authored Jul 23, 2024
1 parent f2b21aa commit cc76e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validate.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { execa, ExecaError } from 'execa'

let ref
try {
const { stdout } = await execa`git describe --tags --abbrev=0`
const { stdout } = await execa`git describe --exact-match --tags`
ref = stdout
} catch (e) {
if (e instanceof ExecaError && e.failed) ref = 'main'
Expand Down

0 comments on commit cc76e65

Please sign in to comment.