From 66356cab51758fa5de9ce7643829c52bcacc33f4 Mon Sep 17 00:00:00 2001 From: Sven Strittmatter Date: Fri, 1 Sep 2023 09:58:28 +0200 Subject: [PATCH] Remove explicit dependency infos The information can be foundon Maven central, and so we need not to update the README.md on every release. Signed-off-by: Sven Strittmatter --- .github/workflows/release.yml | 10 ---------- README.md | 18 +----------------- 2 files changed, 1 insertion(+), 27 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f371fbff..d1ab4163 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -91,16 +91,6 @@ jobs: MVN_VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec) echo "MVN_VERSION=$MVN_VERSION" >> $GITHUB_OUTPUT - # Replaced all version occurrences in README.md in the form: 1.0.0 or version: '1.0.0' - # A version can be 1.0.0, 1.0.0-SNAPSHOT, or 1.0.0-beta4 - - name: "Change README" - run: | - sed -i -e "s@\(\)\([0-9].[0-9].[0-9]\(-[A-z0-9]*\)*\)\(\)@\1${{ steps.extract-version.outputs.MVN_VERSION }}\4@g" README.md - sed -i -e "s@\(version: '\)\([0-9].[0-9].[0-9]\(-[A-z0-9]*\)*\)\('\)@\1${{ steps.extract-version.outputs.MVN_VERSION }}\4@g" README.md - git add README.md - git commit -sS -m "Update version in README" || true - git push - # Required for creation of GitHub release - name: "Get previous tag" id: previous_tag diff --git a/README.md b/README.md index 7a89bad5..cb5600b7 100644 --- a/README.md +++ b/README.md @@ -10,23 +10,7 @@ Java Client to interact with the DefectDojo API. ## Dependency Information -You can find the latest version on [Maven Central](https://central.sonatype.com/artifact/io.securecodebox/defectdojo-client/). - -### Maven - -```xml - - io.securecodebox - defectdojo-client - 1.0.1 - -``` - -### Gradle - -```groovy -implementation group: 'io.securecodebox', name: 'defectdojo-client', version: '1.0.1' -``` +You can find the latest version and dependency infos on [Maven Central](https://central.sonatype.com/artifact/io.securecodebox/defectdojo-client/). ## Development