Skip to content

Commit 66356ca

Browse files
committed
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 <sven.strittmatter@iteratec.com>
1 parent c8e287b commit 66356ca

File tree

2 files changed

+1
-27
lines changed

2 files changed

+1
-27
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,6 @@ jobs:
9191
MVN_VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
9292
echo "MVN_VERSION=$MVN_VERSION" >> $GITHUB_OUTPUT
9393
94-
# Replaced all version occurrences in README.md in the form: <version>1.0.0</version> or version: '1.0.0'
95-
# A version can be 1.0.0, 1.0.0-SNAPSHOT, or 1.0.0-beta4
96-
- name: "Change README"
97-
run: |
98-
sed -i -e "s@\(<version>\)\([0-9].[0-9].[0-9]\(-[A-z0-9]*\)*\)\(</version>\)@\1${{ steps.extract-version.outputs.MVN_VERSION }}\4@g" README.md
99-
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
100-
git add README.md
101-
git commit -sS -m "Update version in README" || true
102-
git push
103-
10494
# Required for creation of GitHub release
10595
- name: "Get previous tag"
10696
id: previous_tag

README.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,7 @@ Java Client to interact with the DefectDojo API.
1010

1111
## Dependency Information
1212

13-
You can find the latest version on [Maven Central](https://central.sonatype.com/artifact/io.securecodebox/defectdojo-client/).
14-
15-
### Maven
16-
17-
```xml
18-
<dependency>
19-
<groupId>io.securecodebox</groupId>
20-
<artifactId>defectdojo-client</artifactId>
21-
<version>1.0.1</version>
22-
</dependency>
23-
```
24-
25-
### Gradle
26-
27-
```groovy
28-
implementation group: 'io.securecodebox', name: 'defectdojo-client', version: '1.0.1'
29-
```
13+
You can find the latest version and dependency infos on [Maven Central](https://central.sonatype.com/artifact/io.securecodebox/defectdojo-client/).
3014

3115
## Development
3216

0 commit comments

Comments
 (0)