eclipse / microprofile-parent

Apache License 2.0
2 stars 19 forks source link

Append release version to the generated pdf and html spec docs #8

Closed kwsutter closed 6 years ago

kwsutter commented 6 years ago

Currently, the generated spec html and pdf documents just have the basic name, ie. microprofile-spec.pdf and microprofile-spec.html.

It would be nice to append the release tag to these file names to show immediately (by the name) that these are not final. Something like this:

microprofile-spec-1.3-RC1.pdf

kwsutter commented 6 years ago

I want to do something like this, but haven't figured out the proper syntax for the pipeline script...

for f in generated-docs/*; do cp -v "$f" "/home/data/httpd/download.eclipse.org/microprofile/${params.module}-${params.releaseVersion}/${f%.*}-${params.releaseVersion}.${f##*.}"; done

kwsutter commented 6 years ago

I'm closing out this issue since it is no longer required. @pilhuhn discovered that if we use an updated version of the asciidoctor plugin, then we can specify the output file name of the generated docs. Take a look at https://github.com/eclipse/microprofile-metrics/pull/212.