Skip to content

Commit

Permalink
feat(repo): enable custom version publish on e2e (#18341)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav authored Jul 27, 2023
1 parent 1363bae commit d02950b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/utils/global-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ export default async function (globalConfig: Config.ConfigGlobals) {
!existsSync('./build')
) {
console.log('Publishing packages to local registry');
const publishVersion = process.env.PUBLISHED_VERSION ?? 'major';
await new Promise<void>((res, rej) => {
const publishProcess = exec('pnpm nx-release --local major', {
const publishProcess = exec(`pnpm nx-release --local ${publishVersion}`, {
env: process.env,
});
let logs = Buffer.from('');
Expand Down

1 comment on commit d02950b

@vercel
Copy link

@vercel vercel bot commented on d02950b Jul 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.