Skip to content

feature request: bump project version command #6636

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

Closed
phi-friday opened this issue Aug 26, 2024 · 2 comments
Closed

feature request: bump project version command #6636

phi-friday opened this issue Aug 26, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@phi-friday
Copy link

phi-friday commented Aug 26, 2024

I'm replacing rye with uv.
(The following articles were referenced: astral-sh/rye#1342)
I've replaced most of the functionality with uv, or changed to other commands or packages.
But changing the version of a project is both simple and annoying.

In the past, I've changed versions like this(in github action)
rye version <some version>
But now I change it like this
sed -i'' -E “s/version = \”0.0.0\“/version = \”$VERSION\“/g” pyproject.toml

This works, but it's not satisfactory.

I'd like to know if you have any plans to provide functionality like this.
Again, I'm not saying you have to.
It doesn't matter if you don't have it, but it would be nice to have it.
Either way, I'm happy enough with uv for now.

@gnosys-nmercer
Copy link

I like the idea of this feature.

It would be nice if it would be able to incorporate features like bump-my-version where you can specify which files to do the version replace and how to search and replace the version strings using settings in the pyproject.toml file.

@zanieb zanieb added the duplicate This issue or pull request already exists label Aug 26, 2024
@zanieb
Copy link
Member

zanieb commented Aug 26, 2024

This is a duplicate of #6298

@zanieb zanieb closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants