Particle CLI build: set PRODUCT_VERSION()?

Hi,

with the new Particle CLI updates, I thought of asking this:

  • is there a way to set PRODUCT_VERSION() from a Particle CLI build command?

I've looked into -D flags, or command line flags in general but no success yet.

Thanks!
Ps: maybe @jvanier knows about this.

Not currently, but there is a way to do it from continuous integration (CI) using Github actions.

2 Likes