Skip to content

Commit 4790c59

Browse files
committed
feat: update version
1 parent 6298888 commit 4790c59

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ jobs:
2525
git fetch --unshallow
2626
sudo bash -c "echo '$GPG_KEY_CONTENTS' | base64 -d > '$SIGNING_SECRET_KEY_RING_FILE'"
2727
chmod +x ./gradlew
28+
2829
# Builds the release artifacts of the library
2930
- name: Build Release Artifacts
30-
run: ./gradlew --info library:assembleRelease
31+
run: ./gradlew library:assembleRelease
3132

3233
# Generates other artifacts (javadocJar is optional)
3334
- name: Generate Source jar
@@ -38,10 +39,10 @@ jobs:
3839
run: |
3940
if ${{ endswith(github.event.release.tag_name, '-SNAPSHOT') }}; then
4041
echo "Publising Snapshot Version ${{ github.event.release.tag_name}} to Snapshot repository"
41-
./gradlew publishReleasePublicationToSonatypeRepository
42+
./gradlew publishToSonatype
4243
else
4344
echo "Publising Release Version ${{ github.event.release.tag_name}} to Staging repository"
44-
./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository
45+
./gradlew publishToSonatype --max-workers 1 closeAndReleaseSonatypeStagingRepository
4546
fi
4647
env:
4748
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ repositories {
3838
Next, add the dependency to your project's `build.gradle(.kts)` file:
3939

4040
```groovy
41-
implementation("io.appwrite:sdk-for-android:0.6.0")
41+
implementation("io.appwrite:sdk-for-android:0.6.1")
4242
```
4343

4444
### Maven
@@ -49,7 +49,7 @@ Add this to your project's `pom.xml` file:
4949
<dependency>
5050
<groupId>io.appwrite</groupId>
5151
<artifactId>sdk-for-android</artifactId>
52-
<version>0.6.0</version>
52+
<version>0.6.1</version>
5353
</dependency>
5454
</dependencies>
5555
```

library/src/main/java/io/appwrite/services/Storage.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class Storage(client: Client) : Service(client) {
115115
val converter: (Map<String, Any>) -> io.appwrite.models.File = {
116116
io.appwrite.models.File.from(map = it)
117117
}
118-
val idParamName: String? = "fileId"
118+
val idParamName: String? = "fileId"
119119
val paramName = "file"
120120
return client.chunkedUpload(
121121
path,

0 commit comments

Comments
 (0)