From 2ebc0a4b39e16dba294b0ba39b7ff5af5da3d655 Mon Sep 17 00:00:00 2001 From: Grigoriy Date: Sat, 20 Apr 2024 12:38:47 +0200 Subject: [PATCH] release v1.0-5 --- .github/workflows/release.yml | 2 +- .github/workflows/release_pr.yml | 22 ++++++++++++++++++++++ app/build.gradle.kts | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/release_pr.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b5365d0..fc7dd659 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,7 +65,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: release-artifacts - paths: | + path: | app/build/outputs/apl/release/ app/build/outputs/bundle/release/ diff --git a/.github/workflows/release_pr.yml b/.github/workflows/release_pr.yml new file mode 100644 index 00000000..f0ccd0d1 --- /dev/null +++ b/.github/workflows/release_pr.yml @@ -0,0 +1,22 @@ +name: Create PR for Release + +on: + push: + branches: + - release/* + +jobs: + create-pr: + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Create PR + uses: Songmu/tagpr@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + base: master + head: ${{ github.ref }} diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 054f3e1d..9cf797b7 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -17,7 +17,7 @@ android { applicationId = "com.grappim.hateitorrateit" minSdk = libs.versions.minSdk.get().toInt() targetSdk = libs.versions.targetSdk.get().toInt() - versionCode = 4 + versionCode = 5 versionName = "1.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"