I have a Cordova hook that executes after execution of build command. And one hook which executes before build command is executed.
I want it to executes only if --release attribute is added in build command.
Is it possible? As I am doing something in hook (i.e. changing version code of builds.) which I want to do only for release builds.
Please ask if something is unclear to you.