Skip to content

Commit

Permalink
Update release workflow and prepare 0.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
cdr-chakotay committed Nov 28, 2021
1 parent e7b8883 commit 1f94599
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Publish package to Maven Repository
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
run: ./gradlew publishToSonatype closeSonatypeStagingRepository
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ The JARs can be downloaded manually from our [Maven Central Repo](https://search
**Gradle:**

```groovy
compile 'io.tus.java.client:tus-java-client:0.4.4'
implementation 'io.tus.java.client:tus-java-client:0.4.5'
```

**Maven:**
Expand All @@ -92,7 +92,7 @@ compile 'io.tus.java.client:tus-java-client:0.4.4'
<dependency>
<groupId>io.tus.java.client</groupId>
<artifactId>tus-java-client</artifactId>
<version>0.4.4</version>
<version>0.4.5</version>
</dependency>
```

Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
plugins {
id 'signing'
id('io.github.gradle-nexus.publish-plugin') version '1.1.0'
id 'maven-publish'
}

apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'

group 'io.tus.java.client'

Expand Down Expand Up @@ -76,9 +75,10 @@ def pomConfig = {
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
groupId = 'io.tus.java.client'
artifactId = 'tus-java-client'
version
version project.getVersion()
artifact sourcesJar
artifact javadocJar

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
versionNumber='0.4.4'
versionNumber='0.4.5'

0 comments on commit 1f94599

Please sign in to comment.