diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43127cc..fb65900 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,12 +50,14 @@ jobs: 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/$CURRENT_VERSION/${{ steps.release_version.outputs.version }}/g" cran-comments.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 cran-comments.md git add DESCRIPTION git commit -m "[RELEASE] Set the release version to ${{ steps.release_version.outputs.version }}" git push