SparkleXrm icon indicating copy to clipboard operation
SparkleXrm copied to clipboard

"Overwrite" option should work when publishing web resources, too

Open FixRM opened this issue 2 years ago • 0 comments

Hello @scottdevelop1, and thank you for spkl. I'll create a PR if you approve my suggestion. Suggestion is the following:

"overwrite" flag should be honored when publishing web resources by forcing content update and adding resource to solution even if resource has no changes.

Use case: there is a "default" solution is spkl.json for publishing web resources, aka "WebResources". It is useful when new resource is created and published at the first time to make sure that it will be created with correct schema. Later, we create new "release solution" to cherry-pick changes we want to ship with release. If I locally change spkl.json to publish to this new solution and than publish web resources again, new resource will not be included as it might have no changes. As the result it can be accidentally not published to next environment.

FixRM avatar Dec 05 '23 08:12 FixRM