From 2f136f20bc08f5736422de1d769b6e0ecf244035 Mon Sep 17 00:00:00 2001 From: David Hassell Date: Mon, 4 Dec 2023 12:08:28 +0000 Subject: [PATCH] Protext URLs from sed in workflows --- .github/workflows/adoc_build.yml | 2 +- cf-conventions.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/adoc_build.yml b/.github/workflows/adoc_build.yml index c2dfceae..abd86c4f 100644 --- a/.github/workflows/adoc_build.yml +++ b/.github/workflows/adoc_build.yml @@ -57,7 +57,7 @@ jobs: with: shellcommand: 'asciidoctor --verbose ${FINAL_TAG} -a docprodtime=$(date -u ${DATE_FMT}) cf-conventions.adoc -D conventions_build; cp -r images conventions_build' # Patch the cfconventions.org link - - run: sed -E -i 's+(https://cfconventions.org)+\1+' ./conventions_build/cf-conventions.html + - run: run: sed -E -i 's+(TAG)(https://cfconventions.org)(TAG)+\2+' ./conventions_build/cf-conventions.html # Build cf-conventions.pdf using the Analog-inc asciidoctor-action - name: Build cf-conventions.pdf uses: Analog-inc/asciidoctor-action@v1.2 diff --git a/cf-conventions.adoc b/cf-conventions.adoc index 4150d1d8..d34e840a 100644 --- a/cf-conventions.adoc +++ b/cf-conventions.adoc @@ -1,7 +1,7 @@ include::version.adoc[] = NetCDF Climate and Forecast (CF) Metadata Conventions Brian{nbsp}Eaton; Jonathan{nbsp}Gregory; Bob{nbsp}Drach; Karl{nbsp}Taylor; Steve{nbsp}Hankin; Jon{nbsp}Blower; John{nbsp}Caron; Rich{nbsp}Signell; Phil{nbsp}Bentley; Greg{nbsp}Rappa; Heinke{nbsp}Höck; Alison{nbsp}Pamment; Martin{nbsp}Juckes; Martin{nbsp}Raspaud; Randy{nbsp}Horne; Timothy{nbsp}Whiteaker; David{nbsp}Blodgett; Charlie{nbsp}Zender; Daniel{nbsp}Lee; David{nbsp}Hassell; Alan{nbsp}D.{nbsp}Snow; Tobias{nbsp}Kölling; Dave{nbsp}Allured; Aleksandar{nbsp}Jelenak; Anders{nbsp}Meier{nbsp}Soerensen; Lucile{nbsp}Gaultier; Sylvain{nbsp}Herlédan; Fernando{nbsp}Manzano; Lars{nbsp}Bärring; Christopher{nbsp}Barker; Sadie{nbsp}Bartholomew -Version{nbsp}{current-version},{nbsp}{nbsp}{docprodtime}: See{nbsp}https://cfconventions.org{nbsp}for{nbsp}further{nbsp}information. +Version{nbsp}{current-version},{nbsp}{nbsp}{docprodtime}: See{nbsp}TAGhttps://cfconventions.orgTAG{nbsp}for{nbsp}further{nbsp}information. :doctype: book :pdf-folio-placement: physical :sectanchors: