Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FixRM opened this issue Dec 5, 2023 · 0 comments
Open

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

FixRM opened this issue Dec 5, 2023 · 0 comments

Comments

@FixRM
Copy link
Contributor

FixRM commented Dec 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant