diff --git a/.changes/config.json b/.changes/config.json index 56304d0..7f2f7ca 100644 --- a/.changes/config.json +++ b/.changes/config.json @@ -8,7 +8,7 @@ "pnpm build", "pnpm package" ], - "getPublishedVersion": "git tag v${ pkgFile.version } 2> /dev/null || echo ${ pkgFile.version }", + "getPublishedVersion": "git describe --tags --abbrev=0", "publish": [ "git tag v${ pkgFile.versionMajor } -f", "git tag v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f", @@ -22,4 +22,4 @@ "manager": "github action" } } -} \ No newline at end of file +}