Use sed? https://en.wikipedia.org/wiki/Sed

Gradle also does this if your build is based on that -- look for filter(…) on 
e.g. the copy task.

Of course neither supports your file format out of the box.

On 17.08.2015, at 16:11, Eddie Sutton <[email protected]> wrote:

> I am looking for tools to automatically update text documents with relevant 
> build information such as version information, date of build, the new 
> features included with a milestone.
> 
> SubWCRev works well but is limited to Subversion properties:
> 
> http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-subwcrev-example.html
> 
> ReadMe Template File:
> -------------------------------
> Build date: $WCDATE$
> 
> 
> I am looking for a tool could read an input text file containing key value 
> pairs, and substitute variables in a document template for HTML files, 
> readme.txt files, RSS news feed files, etc.
> 
> 
> Input File (Manually Maintained)
> -------------------------------------------
> ReleaseSummary="New Features and Bug Fixes"
> Feature1="Cure for cancer"
> DownloadUrl="http://acme/com/downloads/installer-1.2.3456.zip";
> 
> 
> Output Template File:
> -----------------------------
> <h1>$ReleaseSummary$<h1>
> <a href="$DownloadUrl$" >Download</a>
> 
> Thanks in advance for any suggestions,
> 
> -Ed
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/CAKas9STLEK1b%3Dh0RH%2BmJOWxK-FQW4arTSK1MowWnL6bNEdm3YQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8FB112A8-ADD9-401F-8E8B-D6D8B7053EE7%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to