must publish a dist folder as well (#23152)

This commit is contained in:
Stephanie Closson 2020-03-27 09:44:55 -06:00 committed by GitHub
parent 1a5bd30329
commit b6c1a063be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,9 @@ const prepareRelease = useSpinner<any>('Preparing release', async ({ dryrun, ver
['git', ['config', 'user.email', GIT_EMAIL]],
['git', ['config', 'user.name', GIT_USERNAME]],
await checkoutBranch(`release-${pluginVersion}`),
['cp', ['-rf', distContentDir, 'dist'], { dryrun }],
['git', ['add', '--force', distDir], { dryrun }],
['git', ['add', '--force', 'dist'], { dryrun }],
[
'git',
['commit', '-m', `automated release ${pluginVersion} [skip ci]`],