Skip to content

Commit

Permalink
Update the release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
csouchet committed Jan 10, 2023
1 parent 6290220 commit 76b6253
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76b6253

Please sign in to comment.