GoogleCloudPlatform / cloud-builders-community

Community-contributed images for Google Cloud Build
https://cloud.google.com/cloud-build/
Apache License 2.0
1.25k stars 851 forks source link

Add support for building a specific version of firebase-tools #589

Open buren opened 2 years ago

buren commented 2 years ago

Currently it's not possible to specify a specific version of firebase-tools to build.

This PR adds an optional substitution variable _FIREBASE_TOOLS_VERSION that can be set in Cloud Build to specify which version of firebase-tools to install.

_FIREBASE_TOOLS_VERSION can be set to any value that npm install firebase-tools@<version> accepts, for example >=11.0.1 <12.0.0, latest, 11.8.1 etc.