You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a library that depends on pulumi but I'd like to version that library separately from the dependency.
On top of that I use gitlab CI where I need to update pulumi version so I though that bumpversion can help me with this.
Let's call my library components
IIUC I may be able to use independent = True but I've been playing with the bump2version for 30 minutes so I'm pretty new to this.
I'd like to be able to increment the 1.0.1 part normally and every now and then change the pulumi version.
Can bumpversion help me with this?
I took an example and made a regex (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)([-](?P<release>(dev|rc))+(?P<build>\d+))?\+pulumi\.(?P<pulumi>\d+\.\d+\.\d+).
Here is what I'd like to achieve:
bumpversion minor -> 1.0.1+pulumi.3.24.1 -> 1.1.0+pulumi.3.24.1 - this would update pyproject.toml
bumpversion pulumi 3.25.0 -> 1.1.0+pulumi.3.25.0 - this would update both pyproject.toml + .gitlab-ci.yml
Thank you
The text was updated successfully, but these errors were encountered:
Hi,
I have a library that depends on
pulumi
but I'd like to version that library separately from the dependency.On top of that I use gitlab CI where I need to update
pulumi
version so I though thatbumpversion
can help me with this.Let's call my library
components
my setup looks like this:
pyproject.toml
.gitlab-ci.yml
IIUC I may be able to use
independent = True
but I've been playing with the bump2version for 30 minutes so I'm pretty new to this.I'd like to be able to increment the
1.0.1
part normally and every now and then change the pulumi version.Can
bumpversion
help me with this?I took an example and made a regex
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)([-](?P<release>(dev|rc))+(?P<build>\d+))?\+pulumi\.(?P<pulumi>\d+\.\d+\.\d+)
.Here is what I'd like to achieve:
bumpversion minor
->1.0.1+pulumi.3.24.1
->1.1.0+pulumi.3.24.1
- this would updatepyproject.toml
bumpversion pulumi 3.25.0
->1.1.0+pulumi.3.25.0
- this would update bothpyproject.toml
+.gitlab-ci.yml
Thank you
The text was updated successfully, but these errors were encountered: