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"