update dependencies and version

This commit is contained in:
InsanusMokrassar 2021-03-12 21:55:47 +06:00
parent 6e73c1d8c1
commit b7bdb6847c
2 changed files with 9 additions and 6 deletions

View File

@ -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 }}"

View File

@ -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