Skip to content

Commit 1f94599

Browse files
committed
Update release workflow and prepare 0.4.5
1 parent e7b8883 commit 1f94599

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Grant execute permission for gradlew
1818
run: chmod +x gradlew
1919
- name: Publish package to Maven Repository
20-
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
20+
run: ./gradlew publishToSonatype closeSonatypeStagingRepository
2121
env:
2222
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
2323
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The JARs can be downloaded manually from our [Maven Central Repo](https://search
8383
**Gradle:**
8484

8585
```groovy
86-
compile 'io.tus.java.client:tus-java-client:0.4.4'
86+
implementation 'io.tus.java.client:tus-java-client:0.4.5'
8787
```
8888

8989
**Maven:**
@@ -92,7 +92,7 @@ compile 'io.tus.java.client:tus-java-client:0.4.4'
9292
<dependency>
9393
<groupId>io.tus.java.client</groupId>
9494
<artifactId>tus-java-client</artifactId>
95-
<version>0.4.4</version>
95+
<version>0.4.5</version>
9696
</dependency>
9797
```
9898

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
plugins {
22
id 'signing'
33
id('io.github.gradle-nexus.publish-plugin') version '1.1.0'
4-
id 'maven-publish'
54
}
65

76
apply plugin: 'java'
8-
apply plugin: 'maven'
7+
apply plugin: 'maven-publish'
98

109
group 'io.tus.java.client'
1110

@@ -76,9 +75,10 @@ def pomConfig = {
7675
publishing {
7776
publications {
7877
mavenJava(MavenPublication) {
78+
from components.java
7979
groupId = 'io.tus.java.client'
8080
artifactId = 'tus-java-client'
81-
version
81+
version project.getVersion()
8282
artifact sourcesJar
8383
artifact javadocJar
8484

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
versionNumber='0.4.4'
1+
versionNumber='0.4.5'

0 commit comments

Comments
 (0)