scolladon / sfdx-git-delta

Generate the sfdx content in source format from two git commits
Other
437 stars 115 forks source link

Resource file changed does not copy the whole static resource #895

Closed RohitGagan16 closed 2 months ago

RohitGagan16 commented 2 months ago

Issue verification check:

What is the problem?

sfdx git delta plugin is not picking the source file in the delta directory if the change is done in the meta xml of a static resource.

What is the parameter and the value you used with it?

What is the expected result?

What is the actual result?

Retrieve the static resource from the org in source format using the sf project retrieve start command and then make a change to the -meta.xml file. Run the sfdx-git delta command to generate the delta folder. Check the contents of the foler,it only has the -meta.xml file

@salesforce/cli/2.51.6 linux-x64 node-v18.17.1

@salesforce/cli: Installing plugin sfdx-git-delta@latest... installed v5.40.2

scolladon commented 2 months ago

Hi @RohitGagan16 !

Thanks for raising this issue and thanks for contributing in making this project better!

I've reproduce locally, I'll try to ship a fix asap

scolladon commented 2 months ago

Hi @RohitGagan16 !

Would you be able to help us with the UAT here please ?

github-actions[bot] commented 2 months ago

Shipped in release v5.41.0. You can install the new version using the version number or the latest-rc channel

$ sfdx plugins:install sfdx-git-delta@latest-rc
$ sfdx plugins:install sfdx-git-delta@v5.41.0

Happy incremental deployment!

RohitGagan16 commented 2 months ago

Hi @RohitGagan16 !

Would you be able to help us with the UAT here please ?

aah i am sorry, missed the message

RohitGagan16 commented 2 months ago

Thanks @scolladon for the quick fix. That is amazing