[infra] use npx to run auto (#1521)
The canary release failed due to not finding auto: https://github.com/tldraw/tldraw/actions/runs/5178225013/jobs/9329393446 No idea why, but I'm going to try running it with npx here.
This commit is contained in:
parent
f15a8797f0
commit
9c71f23a85
1 changed files with 5 additions and 1 deletions
|
@ -18,7 +18,11 @@ async function main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// module was called directly
|
// module was called directly
|
||||||
const bumpType = (await exec('auto', ['version'])).trim() as 'major' | 'minor' | 'patch' | ''
|
const bumpType = (await exec('npx', ['auto', 'version'])).trim() as
|
||||||
|
| 'major'
|
||||||
|
| 'minor'
|
||||||
|
| 'patch'
|
||||||
|
| ''
|
||||||
|
|
||||||
nicelog('bumpType', bumpType)
|
nicelog('bumpType', bumpType)
|
||||||
if (bumpType === '') {
|
if (bumpType === '') {
|
||||||
|
|
Loading…
Reference in a new issue