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