Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Knerio committed May 28, 2024
2 parents 158edc9 + 4877532 commit 51b6c44
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
release:
types: [published]

permissions:
contents: write


jobs:
update-readme:
runs-on: ubuntu-latest
Expand All @@ -27,9 +31,7 @@ jobs:
id: update_readme
run: |
LATEST_VERSION=${{ steps.get_latest_release.outputs.version }}
# Replace the version string in the Gradle dependency line
sed -i "s/de\.derioo:javautils:[0-9]*\.[0-9]*\.[0-9]*/de.derioo:javautils:${LATEST_VERSION}/g" README.md
# Replace the version string in the Maven dependency line
sed -i "s/<version>[0-9]*\.[0-9]*\.[0-9]*<\/version>/<version>${LATEST_VERSION}<\/version>/g" README.md
- name: Commit Changes
Expand Down

0 comments on commit 51b6c44

Please sign in to comment.