Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --dry-run option to version command #5603

Merged
merged 8 commits into from
May 16, 2022
Merged

Conversation

estyxx
Copy link
Member

@estyxx estyxx commented May 13, 2022

Pull Request Check List

Resolves: #5074

This PR add the --dry-run option to the version command, so it will not update the pyproject.toml file but only print the output on the terminal.

  • Added tests for changed code.
  • Updated documentation for changed code.

@abn abn added area/docs Documentation issues/improvements area/cli Related to the command line labels May 13, 2022
@github-actions
Copy link

github-actions bot commented May 13, 2022

Deploy preview for website ready!

✅ Preview
https://website-402igcaog-python-poetry.vercel.app

Built with commit a0b1132.
This pull request is being automatically deployed with vercel-action

src/poetry/console/commands/version.py Outdated Show resolved Hide resolved
tests/console/commands/test_version.py Show resolved Hide resolved
docs/cli.md Outdated Show resolved Hide resolved
src/poetry/console/commands/version.py Outdated Show resolved Hide resolved
@abn
Copy link
Member

abn commented May 16, 2022

Might want to rebase this on master to get the checks passing.

@abn abn merged commit c4e1b21 into python-poetry:master May 16, 2022
@abn abn mentioned this pull request Jun 6, 2022
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/cli Related to the command line area/docs Documentation issues/improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add --dry-run to poetry version <rule> [--dry-run]
2 participants