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

support specifying the version with the package name #3

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

hectorj2f
Copy link
Member

Allow specifying a single package version from multiple ones:

packages:
    - name: rustix@0.37.7
      version: 0.37.25
    - name: rmp-serde
      version: 1.1.1

Signed-off-by: hectorj2f <hector@chainguard.dev>
@hectorj2f hectorj2f self-assigned this Nov 21, 2024
@hectorj2f
Copy link
Member Author

cargobump --bump-file=/Users/hectorfernandez/os/zellij/cargobump-deps.yaml 
2024/11/21 12:28:23 INFO Update package: rmp-serde
2024/11/21 12:28:28 INFO Package updated successfully: rmp-serde to version 1.1.1
2024/11/21 12:28:28 INFO Update package with a specific version: rustix@0.37.7
2024/11/21 12:28:29 INFO Package updated successfully: rustix@0.37.7 to version 0.37.25

"github.com/chainguard-dev/cargobump/pkg/run"
"github.com/chainguard-dev/cargobump/pkg/types"
"golang.org/x/mod/semver"
"log"
Copy link
Member

Choose a reason for hiding this comment

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

why this change?

Copy link
Member Author

Choose a reason for hiding this comment

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

my editor

@hectorj2f hectorj2f merged commit e5d94c8 into main Nov 21, 2024
8 checks passed
@cpanato cpanato deleted the add_support_for_multiple_versions branch November 21, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants