diff --git a/KUBECON.md b/KUBECON.md index a5721e4d..cdf1e520 100644 --- a/KUBECON.md +++ b/KUBECON.md @@ -8,9 +8,7 @@ {{< figure src="/img/flux-horizontal-color.png" alt="Flux Logo" >}} -
# KubeCon Paris 2024 - -March 19-22, 2024
+

KubeCon Paris 2024

March 19-22, 2024

diff --git a/script/update-kubecon.sh b/script/update-kubecon.sh index 513753cd..34ff3809 100755 --- a/script/update-kubecon.sh +++ b/script/update-kubecon.sh @@ -10,11 +10,14 @@ TEMP_FILE=kubecon.html OUT_FILE=KUBECON.md -# sed=gsed sed=sed -# head=ghead head=head +if [[ "$OSTYPE" == "darwin"* ]]; then + sed=gsed + head=ghead +fi + if [[ -z "$DEBUG" ]]; then wget https://github.com/suntong/html2md/releases/download/${HTML2MD_VER}/${HTML2MD}.tar.gz -O ${HTML2MD}.tar.gz tar xvf ${HTML2MD}.tar.gz @@ -46,7 +49,7 @@ wget ${SOURCE_SITE} -O ${TEMP_FILE} \
\ {{< figure src="/img/flux-cuttlefish-stickers.jpeg" alt="Custom printed stickers with cuttlefish mascot and Flux logos" >}}\
_g' \ - | $sed -z 's_# KubeCon Paris 2024\n\nMarch 19-22, 2024_
# KubeCon Paris 2024\n\nMarch 19-22, 2024
_' \ + | $sed -z 's_# KubeCon Paris 2024\n\nMarch 19-22, 2024_

KubeCon Paris 2024

March 19-22, 2024

_' \ > ${OUT_FILE} if [[ -z "$DEBUG" ]]; then