diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6cf892d..7bbacb5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,8 +50,8 @@ jobs: - name: Update latest release version in docs run: | mvn -B -ntp -pl docs -am generate-resources -Denforcer.skip -Dformatter.skip -Dimpsort.skip - if ! git diff --quiet docs/modules/ROOT/pages/includes/attributes.adoc; then - git add docs/modules/ROOT/pages/includes/attributes.adoc + if ! git diff --quiet docs/modules/ROOT/pages/includes; then + git add docs/modules/ROOT/pages/includes git commit -m "Update the latest release version ${{steps.metadata.outputs.current-version}} in documentation" fi