-
Notifications
You must be signed in to change notification settings - Fork 315
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
fix package specificity in upload/configure commands #108
Conversation
fixes always retrieving latest package in upload/configure command when a version and release, or version is specified
@@ -80,7 +80,7 @@ static LOGKEY: &'static str = "CS"; | |||
/// * Fails if the `run` method for the topology fails | |||
/// * Fails if an unknown topology was specified on the command line | |||
pub fn package(config: &Config) -> BldrResult<()> { | |||
match Package::latest(config.deriv(), config.package(), None, None) { | |||
match Package::load(config.deriv(), config.package(), None, None, None) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I uncovered a bit of poop here when I refactored. The behaviour here needs to be modified slightly now that we can specify version/release on the command line. We need to determine what the proper auto-update behaviour is if a version/release or just a version is specified on the command line.
This PR has passed 'Verify' and is ready for review and approval! |
1 similar comment
This PR has passed 'Verify' and is ready for review and approval! |
Seems like the right behavior is:
Adam |
@delivery approve |
Merged change 8b62156a-c6a9-4aa0-a535-0580303f90d0 From review branch exact-upload into master Signed-off-by: adam <[email protected]>
Change: 8b62156a-c6a9-4aa0-a535-0580303f90d0 approved by: @adamhjk |
@adamhjk that's the behaviour that I'm thinking, too. Let's start with that ;) |
Fixes always retrieving latest package in upload/configure command when a version and release, or version is specified