Release version
6.0.1.7
Describe the bug
When deploying with publish-with-last-commit option, apiops deploys and re-creates all the resources like apis, subscriptions etc. Also, all the changes which might have been done in multiple commits, are done. There is no difference between publish-with-last-commit and publish-all-commits option. This is just creating confusion for users and adding complexity.
Expected behavior
Publish with last commit will work faster as compared to all commits and deploy changes only, not the entire repository comparison.
Actual behavior
It compares the entire repository, re-creating all the resources one by one.
Reproduction Steps
- Add multiple changes in commits.
- Run publisher pipeline with deploy to last commit.
- It will re-create all the objects in the repository one by one