MCPcopy Create free account
hub / github.com/thunderbird/thunderbolt / getCurrentVersion

Function getCurrentVersion

scripts/create-release.ts:131–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129 * Get current version from package.json
130 */
131const getCurrentVersion = (): string => {
132 const pkgPath = join(REPO_ROOT, 'package.json')
133 const pkg = JSON.parse(readFileSync(pkgPath, 'utf8'))
134 return pkg.version
135}
136
137/**
138 * Bump version based on type

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected