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

Support more publishing options like PublishRelatedItems, RepublishAll, CompareRevisions and FromDate as well as publish Synchronously #539

Closed
AdamNaj opened this Issue Dec 14, 2015 · 3 comments

Comments

@AdamNaj
Member

AdamNaj commented Dec 14, 2015

  • -PublishRelatedItems - Turns publishing of related items on. Works only on Sitecore 7.2 or newer
  • -RepublishAll - Republishes all items provided to the publishing job.
  • -CompareRevisions - Turns revision comparison on.
  • -FromDate - Publishes items newer than the date provided only.

Breaking change!

  • -AsJob - Performs the publishing action asynchronously making the script not wait for the publishing opration to end. This was the default behaviur before - please update your scripts to include this parameter if you need it to be async again.

@AdamNaj AdamNaj self-assigned this Dec 14, 2015

@AdamNaj AdamNaj added this to the 4.0 milestone Dec 14, 2015

AdamNaj added a commit that referenced this issue Dec 14, 2015

@AdamNaj

This comment has been minimized.

Member

AdamNaj commented Dec 14, 2015

Implemented

@AdamNaj AdamNaj closed this Dec 14, 2015

@michaellwest

This comment has been minimized.

Member

michaellwest commented Jan 1, 2016

I'd like to adjust it so the default behavior is Synchronous and we use an AsJob parameter to indicate that the job will be returned and run Asynchronously.

@AdamNaj

This comment has been minimized.

Member

AdamNaj commented Jan 3, 2016

Added note to the original issue description and closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment