ionic-team/trapeze

How to pass version from package.json to versionName in yaml?

j2only opened this issue · 1 comments

I think that it would be much more convenient than entering a new version into the configuration file every time

Use an environment variable like this:

APP_VERSION=$(node -p "require('./package.json').version") && npx trapeze...

Then reference that variable in your yaml file using the vars fields