Skip to content

Commit

Permalink
Release v1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cosic committed Mar 20, 2022
1 parent d0488b3 commit 362ccaf
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# 1.3.3

##### Fix
* [issue#36](https://github.com/cianru/huawei-publish-gradle-plugin/issues/36):
publishHuaweiAppGallery* task not created for all build types.
The plugin create publishing task for debuggable build too.
* [issue#38](https://github.com/cianru/huawei-publish-gradle-plugin/issues/38):
Publishing bug: "The package is being compiled, please try again".
Huawei changed the behavior of current api url for apk build copied it as for aab with waiting for review.

# 1.3.1

##### Add
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Huawei App Gallery Publishing

[![Maven Central](https://img.shields.io/maven-central/v/ru.cian/huawei-publish-gradle-plugin.svg)](https://search.maven.org/search?q=a:huawei-publish-gradle-plugin)
![Version](https://img.shields.io/badge/Version-1.3.1-green.svg)
![Version](https://img.shields.io/badge/Version-1.3.3-green.svg)
![Version](https://img.shields.io/badge/Gradle-7.0.*-pink.svg)
[![License](https://img.shields.io/github/license/srs/gradle-node-plugin.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)

Expand Down Expand Up @@ -306,7 +306,7 @@ or execute from command line:
--buildFormat=aab
```

After uploading *.aab file the Huawei Service will start processed. It may take 2-5 minutes, depending on the size of the software package.
After uploading build file the Huawei Service will start processed. It may take 2-5 minutes, depending on the size of the software package.
While publishing the AppBundle build file you can get the error:
>What went wrong:
> Execution failed for task ':app:publishHuaweiAppGalleryRelease'.
Expand All @@ -317,9 +317,9 @@ When publishing an AppBundle the service takes some time to parse the file.
In this case, the plugin uses a special mechanism for the full cycle.
By default, the plugin tries to publish the assembly every 15 seconds for 10 minutes.
To change values see using parameters: `publishTimeoutMs` and `publishPeriodMs`.
You don't meet such problem for *.apk file which will publish immediately after uploading.

For more information see the [Issue#7](https://github.com/cianru/huawei-publish-gradle-plugin/issues/7)
and [Issue#38](https://github.com/cianru/huawei-publish-gradle-plugin/issues/38).

</details>

Expand Down
8 changes: 4 additions & 4 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ rm -rv ~/.m2/repository/ru/cian/huawei-publish-gradle-plugin/<SNAPSHOT_VERSION>
```
cd ./plugin
```
1. Edit gradle.properties, remove '-SNAPSHOT' from the VERSION property
1. Edit readme so that Gradle examples point to the new version
1. Edit `gradle.properties`, remove '-SNAPSHOT' from the VERSION property
1. Edit `README.md` so that Gradle examples point to the new version
1. Edit changelog, add relevant changes, note the date and new version (follow the existing pattern)
1. Verify that the everything works:
```bash
Expand Down Expand Up @@ -133,12 +133,12 @@ rm -rv ~/.m2/repository/ru/cian/huawei-publish-gradle-plugin/<SNAPSHOT_VERSION>
```bash
./gradlew publishPlugins
```
1. Check uploaded files and version Gradle Plugin Portal site: https://plugins.gradle.org/
1. Check uploaded plugin and version at [Gradle Plugin Portal site](https://plugins.gradle.org/plugin/ru.cian.huawei-publish-gradle-plugin).

########################################################################
### Prepare Release Commit
########################################################################
1. Edit gradle.properties, remove '-SNAPSHOT' from the VERSION property
1. Edit ./plugin/gradle.properties, remove '-SNAPSHOT' from the VERSION property
1. Make a *signed* commit:
```bash
git commit -m "Release vX.Y.Z"
Expand Down
2 changes: 1 addition & 1 deletion plugin/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android.enableJetifier=true
####################################################################################################

GROUP=ru.cian
VERSION_NAME=1.3.3-SNAPSHOT
VERSION_NAME=1.3.3

POM_ARTIFACT_ID=huawei-publish-gradle-plugin
POM_NAME=Huawei Publish Gradle Plugin
Expand Down

0 comments on commit 362ccaf

Please sign in to comment.