Skip to content

WikiUpdaterTask: Prepend contents after TOC? #1038

Answered by rfennell
gchorkawy asked this question in Q&A
Discussion options

You must be logged in to vote

No sorry, there is no way to archive what you are after using my task.

I feel trying to add this functionality to my WIKIUploader task is just a bit too much scope creep. So, all I can suggest is use a PowerShell/Bash task to remove the old [[TOC]] in the pipeline. Something like:

  1. Generate Release Notes with a [[TOC]] at the top of the template.
  2. Use a PowerShell/Bash script to update the current WIKI page removing the [[TOC]] - See this on running Git commands in scripts
  3. Prepend the new release notes.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gchorkawy
Comment options

@gchorkawy
Comment options

@rfennell
Comment options

Answer selected by gchorkawy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants