Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Fix which build command is called in the release script
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg committed Dec 10, 2022
1 parent 1f4f24e commit e9b08df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const getTestChanges = (): ListrTask[] => {
{
title: 'Build tests from last release',
task: async () => {
await exec('npm run build');
await exec('npm run build:tests');
await fs.rename(
new URL('./tests.json', import.meta.url),
new URL('./tests.old.json', import.meta.url)
Expand All @@ -156,7 +156,7 @@ const getTestChanges = (): ListrTask[] => {
},
{
title: 'Build tests from current release',
task: async () => await exec('npm run build')
task: async () => await exec('npm run build:tests')
},
{
title: 'Compare tests',
Expand Down

0 comments on commit e9b08df

Please sign in to comment.