We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eeac4b commit 98038b0Copy full SHA for 98038b0
.github/workflows/release.yml
@@ -48,11 +48,13 @@ jobs:
48
- name: Update with the release version
49
run: |
50
CURRENT_VERSION=$(grep Version DESCRIPTION | sed 's/Version: \(.*\).9000/\1/g')
51
+ sed -i -E "s/$CURRENT_VERSION/${{ steps.release_version.outputs.version }}/g" index.md
52
sed -i -E "s/$CURRENT_VERSION/${{ steps.release_version.outputs.version }}/g" README.md
53
sed -i -E 's/Version: .*/Version: ${{ steps.release_version.outputs.version }}/g' DESCRIPTION
54
55
- name: Commit with the release version
56
57
+ git add index.md
58
git add README.md
59
git add DESCRIPTION
60
git commit -m "[RELEASE] Set the release version to ${{ steps.release_version.outputs.version }}"
0 commit comments