So many questions! At the 10k foot view I think I want to have my revision number of my plugin assembly be auto-incremented by 1, and I want to be able to then injected that into my extracted solution for packing and importing into the build environment. How do I do this?
Details:
- I have a pipeline that builds my plugin on any code change that would affect it.
- How do I get this pipeline to auto increment the revision number and then check it in when it successfully builds and passes the tests?
- How do I share this file with later pipelines? Publish the plugin assembly as a pipeline artifact?
- I have another pipeline that exports and extracts the solution out of Dev and checks that into Git before building and pushing to the Build environment.
- Should this pipeline be split into two, one for exporting the solution, injecting the plugin, and checking into Git, and another for packing and pushing to the build, before exporting out the managed solution?
- When looking at the {plugin}.data.xml file in the extract, it lists the assembly version. How do I update this as well? Do I perhaps not need to?
And if I'm doing something that seems wrong, or more complicated than it should, let me know. Normally I never increment the plugin version, but I believe I've heard that this could cause issues when not doing so with managed solutions. Maybe I shouldn't be doing this at all?