reactjswebpackversionversioningbuild-numbers

How to do app versioning in create react app?


I need to display version of my react app in the footer in x.y.z format.

I need this version to increment every time I deploy the app by being provided a choice if I want to increment x or y or z.

How do I achieve this? :)


Solution

  • To bump the version of your app you can use npm version.

    For example:

    npm version minor