From b7bdb6847cb132d773722a70f2540b1bd0a2edcd Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 12 Mar 2021 21:55:47 +0600 Subject: [PATCH] update dependencies and version --- .github/workflows/commit-publish.yml | 5 ++++- gradle.properties | 10 +++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/commit-publish.yml b/.github/workflows/commit-publish.yml index 2476ffe..c047251 100644 --- a/.github/workflows/commit-publish.yml +++ b/.github/workflows/commit-publish.yml @@ -8,6 +8,10 @@ jobs: - uses: actions/setup-java@v1 with: java-version: 1.8 + - name: Update version + run: | + branch="`echo "${{ github.ref }}" | grep -o "[^/]*$"`" + sed -i -e "s/^version=\([0-9\.]*\)/version=\1-branch_$branch-build${{ github.run_number }}/" gradle.properties - name: prebuild run: ./gradlew clean build - name: Publish package @@ -15,4 +19,3 @@ jobs: env: GITHUBPACKAGES_USER: ${{ github.actor }} GITHUBPACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }} - additional_version: "-build${{ github.run_number }}" diff --git a/gradle.properties b/gradle.properties index 5992f51..c453b23 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,10 +11,10 @@ kotlin_serialisation_core_version=1.1.0 github_release_plugin_version=2.2.12 -tgbotapi_version=0.32.8 -micro_utils_version=0.4.27 +tgbotapi_version=0.33.0 +micro_utils_version=0.4.29 exposed_version=0.29.1 -plagubot_version=0.1.4 +plagubot_version=0.1.5 # ANDROID @@ -33,5 +33,5 @@ dokka_version=1.4.20 # Project data group=dev.inmo -version=0.0.1 -android_code_version=1 +version=0.0.2 +android_code_version=2