I'm not sure if this is the right spot for the question. I'm working on some GitHub Actions to automate CI/CD for my current CRM project.
So there are some solutions containing a model driven app, entities, roles and so on. I have a pipeline in place which
exports the current version unmanged
extract the unmanged version and stores it in GitHub (Enterprise Server)
exports the same version managed and stores it for deployment purposes
When running SolutionPackager locally I can decide if missing objects are to be removed from previous export. Which is typical intention when
objects get removed from the solution. Now, when running the pipeline this optin seems to be gone. I use unpack action to extract the solution '
file and push the result to git afterwards https://github.com/microsoft/powerplatform-actions/blob/main/unpack-solution/action.yml
But today I removed something from my solution but after pipeline finished successfully, the object was still present in git.
For everybody interested in this, you can do the following
1. Get local copy
2. Clear export folder
3. Extract solution to export folder
4. Add all objects
5. Commit changes
6. Push changes
As git does not compare timestamps in here, but content it recognizes all deleted + recreated files as unchanged. So modifications and additions will be added to your repo and (locally) removed files will be removed from repo.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.