pulumi / upgrade-provider

A tool to automate provider upgrades on your local machine
6 stars 1 forks source link

upgrade-provider doesn't adhere to my `--target-bridge-version` #283

Open ringods opened 1 week ago

ringods commented 1 week ago

What happened?

upgrade-provider doesn't adhere to my --target-bridge-version it seems. I ran:

$GOPATH/bin/upgrade-provider pulumiverse/pulumi-grafana --kind=bridge --target-bridge-version="v3.89.1"

but the bridge was upgraded to the very latest (v3.93.1).

Example

https://github.com/pulumiverse/pulumi-grafana/commit/3b87fe433aed43d0b9c9da843281c6d78ca09710#diff-0301265a2d4321ca487bbd7ba523f69633171cef680c0114e7ca8d2c34176b73

PR: https://github.com/pulumiverse/pulumi-grafana/pull/197

Output of pulumi about

CLI          
Version      3.137.0
Go Version   go1.23.2
Go Compiler  gc

Host     
OS       darwin
Version  15.1
Arch     arm64

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

iwahbe commented 1 week ago

@ringods Did this run in CI or locally? I ask because I'd love to see the output from upgrade-provider. It prints out the commands it run.

ringods commented 1 week ago

@iwahbe Locally. Unfortunately, I don't have the shell session open anymore to copy the output from.