File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,14 +50,18 @@ jobs:
5050 - name : Promote CHANGELOG unreleased section
5151 run : ./gradlew patchChangelog
5252
53+ - name : Update version in README
54+ run : |
55+ sed -i -E "s|(implementation 'com\.bitmovin\.player\.integration:yospace:)[^']+'|\1${{ steps.version.outputs.next }}'|" README.md
56+
5357 - name : Extract release notes
5458 run : ./gradlew getChangelog -q --console=plain --no-header --no-summary --no-empty-sections --project-version=${{ steps.version.outputs.next }} --output-file=build/release-notes.md
5559
5660 - name : Commit, tag and push
5761 run : |
5862 git config user.name 'Automated Release'
5963 git config user.email 'release-automation@bitmovin.com'
60- git add gradle.properties CHANGELOG.md
64+ git add gradle.properties CHANGELOG.md README.md
6165 git commit -m "Release ${{ steps.version.outputs.next }}"
6266 git tag -a "${{ steps.version.outputs.next }}" -m "${{ steps.version.outputs.next }}"
6367 git push origin main
You can’t perform that action at this time.
0 commit comments