diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9171d6e..7f2bfea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,8 +55,8 @@ jobs: - name: Update latest release version in docs run: | mvn -B -ntp -pl docs -am generate-resources -Denforcer.skip -Dspotless.check.skip=true - if ! git diff --quiet docs/modules/ROOT/templates/includes/attributes.adoc; then - git add docs/modules/ROOT/templates/includes/attributes.adoc + if ! git diff --quiet docs/modules/ROOT/pages/includes/attributes.adoc; then + git add docs/modules/ROOT/pages/includes/attributes.adoc git commit -m "Update the latest release version ${{steps.metadata.outputs.current-version}} in documentation" fi diff --git a/docs/modules/ROOT/pages/includes/attributes.adoc b/docs/modules/ROOT/pages/includes/attributes.adoc new file mode 100644 index 0000000..e1a2881 --- /dev/null +++ b/docs/modules/ROOT/pages/includes/attributes.adoc @@ -0,0 +1,3 @@ +:project-version: ${release.current-version} + +:examples-dir: ./../examples/ \ No newline at end of file