Skip to content

Commit

Permalink
feat: remove --dirty flag from git describe, close #20
Browse files Browse the repository at this point in the history
  • Loading branch information
ilharp committed May 6, 2022
1 parent e898908 commit a505d22
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/koi-build/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ let koiVersionTemp = ''
export async function getKoiVersion(): Promise<string> {
if (koiVersionTemp) return koiVersionTemp
try {
koiVersionTemp = (
await spawnOut('git', ['describe', '--tags', '--dirty'])
).trim()
koiVersionTemp = (await spawnOut('git', ['describe', '--tags'])).trim()
} catch (error) {
koiVersionTemp = 'v0.0.1'
}
Expand Down

0 comments on commit a505d22

Please sign in to comment.