Skip to content

Commit

Permalink
fix(nx-python): use @nxlv/python:publish for nx-release-publish (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasvieirasilva authored Sep 18, 2024
1 parent 553ff7b commit ae99905
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/nx-python/src/generators/poetry-project/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,13 +467,9 @@ export default async function (
if (normalizedOptions.publishable) {
projectConfiguration.targets ??= {};
projectConfiguration.targets['nx-release-publish'] = {
executor: 'nx:run-commands',
options: {
command: 'poetry publish',
cwd: normalizedOptions.projectRoot,
forwardAllArgs: false,
},
dependsOn: ['build'],
executor: '@nxlv/python:publish',
options: {},
outputs: [],
};
}

Expand Down

0 comments on commit ae99905

Please sign in to comment.