bencherdev / bencher

🐰 Bencher - Continuous Benchmarking
https://bencher.dev
Other
523 stars 24 forks source link

Add ability to pass in version to install powershell script #515

Open mwasplund opened 5 days ago

mwasplund commented 5 days ago

I just had a break in our CI builds because the https://bencher.dev/download/install-cli.ps1 pulls in the latest release which introduced a breaking change to the api and we have not updated our api docker image yet.

Can you add a flag to pass in the target version for the install script. Thanks!

epompeii commented 5 days ago

@mwasplund that's a great idea!

I'm open to PRs to allow overriding the target version in the convenience script: https://github.com/bencherdev/bencher/blob/1919a6aef5f35ae45ab5d542b8091d233a760b99/services/cli/templates/install-cli.ps1.j2#L44

Otherwise, I'll try to get to this soon.