Closed beatscode closed 6 years ago
Of course it makes sense now if I change the User Defined Settings to PLUGIN_BUILD and PLUGIN_VERSION then update the values in the actual build script. I must have changed the variables trying to figure out how to change the values.
How does this work?
Seems like the the first Run Script copies the
cp -rf ${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME} ~/Library/Application\ Support/com.bohemiancoding.sketch3/Plugins/
The next script seems to replace the variables in the manifest.json file. For some reason it isn't working for me. I updated the user-defined variables but the values are not updated.
Manifest.json
Build Settings
You can see in the logs that that my user defined values are being passed to the script, but its replacing values in
If the configuration build dir is tended to first then why is the first run script copying the plugin. I tried reversing these two scripts and that didn't work either.
Any Suggestions?