[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.
to-fixed
David Sheldrick 2023-06-05 15:46:59 +01:00 zatwierdzone przez GitHub
rodzic f15a8797f0
commit 9c71f23a85
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -18,7 +18,11 @@ async function main() {
}
// 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)
if (bumpType === '') {