diff --git a/.github/actions/build-documentation-site/action.yml b/.github/actions/build-documentation-site/action.yml index d1ba6ee..b41e852 100644 --- a/.github/actions/build-documentation-site/action.yml +++ b/.github/actions/build-documentation-site/action.yml @@ -14,5 +14,3 @@ runs: shell: Rscript {0} run: | pkgdown::build_site() - - diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e6456a..4720109 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,11 +48,13 @@ jobs: - name: Update with the release version run: | CURRENT_VERSION=$(grep Version DESCRIPTION | sed 's/Version: \(.*\).9000/\1/g') + sed -i -E "s/$CURRENT_VERSION/${{ steps.release_version.outputs.version }}/g" index.md sed -i -E "s/$CURRENT_VERSION/${{ steps.release_version.outputs.version }}/g" README.md sed -i -E 's/Version: .*/Version: ${{ steps.release_version.outputs.version }}/g' DESCRIPTION - name: Commit with the release version run: | + git add index.md git add README.md git add DESCRIPTION git commit -m "[RELEASE] Set the release version to ${{ steps.release_version.outputs.version }}" diff --git a/MAINTAINERS.md b/MAINTAINERS.md index f93cc6c..2a319db 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -56,6 +56,7 @@ ___ Check that the files are using the version to be released: - [DESCRIPTION](./DESCRIPTION) +- [index](./index.md) (used in the HTML documentation) - [README](./README.md) Create a new PR (it must have the `skip-changelog` label as we don't want it to appear in the release notes) and merge it,