Skip to content

Commit bbe8339

Browse files
authored
chore: fix the update of the version in cran-comments.md in the release workflow (#199)
1 parent 669c25a commit bbe8339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
CURRENT_VERSION=$(grep Version DESCRIPTION | sed 's/Version: \(.*\).9000/\1/g')
5151
sed -i -E "s/$CURRENT_VERSION/${{ steps.release_version.outputs.version }}/g" index.md
5252
sed -i -E "s/$CURRENT_VERSION/${{ steps.release_version.outputs.version }}/g" README.md
53-
sed -i -E "s/$CURRENT_VERSION/${{ steps.release_version.outputs.version }}/g" cran-comments.md
53+
sed -i -E "s/$CURRENT_VERSION.9000/${{ steps.release_version.outputs.version }}/g" cran-comments.md
5454
sed -i -E 's/Version: .*/Version: ${{ steps.release_version.outputs.version }}/g' DESCRIPTION
5555
5656
- name: Commit with the release version

0 commit comments

Comments
 (0)