From 819aee387f11b1ec493a0ea2591add8382676015 Mon Sep 17 00:00:00 2001 From: Sergey Grigoriev Date: Mon, 24 Jun 2024 18:44:13 +0200 Subject: [PATCH] feat: content of about page now generated based on information from README.md --- .github/workflows/maven-release.yml | 6 ++++++ .gitignore | 3 ++- .scripts/convert-readme.sh | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 443ba4f..da2e1ba 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -56,8 +56,14 @@ jobs: ] - name: Print settings.xml run: cat /home/runner/.m2/settings.xml + - name: Test Run of convert-readme.sh + run: .scripts/convert-readme.sh + env: + GITHUB_TOKEN: ${{ github.token }} - name: Build with Maven run: mvn --batch-mode -DwpExporterImpl=docker clean package -P tests-with-weasyprint-docker + env: + GITHUB_TOKEN: ${{ github.token }} - name: Extract artefact version id: artefact_version run: echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT diff --git a/.gitignore b/.gitignore index b7a5b48..8f55b56 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,5 @@ target/ *.iml dependency-reduced-pom.xml -src/main/resources/webapp/*-admin/html/about.html \ No newline at end of file +src/main/resources/webapp/*-admin/html/about.html +README.html \ No newline at end of file diff --git a/.scripts/convert-readme.sh b/.scripts/convert-readme.sh index 74fd0f5..82fe116 100755 --- a/.scripts/convert-readme.sh +++ b/.scripts/convert-readme.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -xv INPUT_FILE=$1 OUTPUT_FILE=$2