From 6cacf51e48933cec4804bdf20aa6efb497a62b13 Mon Sep 17 00:00:00 2001 From: guilh Date: Sat, 13 Dec 2025 15:42:55 -0300 Subject: [PATCH 1/6] =?UTF-8?q?Renomeado=20workflow=20de=20release=20e=20a?= =?UTF-8?q?dicionadas=20configura=C3=A7=C3=B5es=20do=20editor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Renomeado arquivo de workflow de `.github/workflows/android-release-ci.yml` para `android-release.yml`. - Adicionados arquivos de configuração do IDEA (`deviceManager.xml` e `markdown.xml`). --- .../{android-release-ci.yml => android-release.yml} | 0 .idea/deviceManager.xml | 13 +++++++++++++ .idea/markdown.xml | 8 ++++++++ 3 files changed, 21 insertions(+) rename .github/workflows/{android-release-ci.yml => android-release.yml} (100%) create mode 100644 .idea/deviceManager.xml create mode 100644 .idea/markdown.xml diff --git a/.github/workflows/android-release-ci.yml b/.github/workflows/android-release.yml similarity index 100% rename from .github/workflows/android-release-ci.yml rename to .github/workflows/android-release.yml diff --git a/.idea/deviceManager.xml b/.idea/deviceManager.xml new file mode 100644 index 0000000..91f9558 --- /dev/null +++ b/.idea/deviceManager.xml @@ -0,0 +1,13 @@ + + + + + + \ No newline at end of file diff --git a/.idea/markdown.xml b/.idea/markdown.xml new file mode 100644 index 0000000..c61ea33 --- /dev/null +++ b/.idea/markdown.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file From 30f19bb6695d1d0d62dc92012e301a6fe67e3c4d Mon Sep 17 00:00:00 2001 From: guilh Date: Sat, 13 Dec 2025 15:44:54 -0300 Subject: [PATCH 2/6] =?UTF-8?q?Adicionado=20diret=C3=B3rio=20.idea=20ao=20?= =?UTF-8?q?.gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Inclui a pasta de configurações do IntelliJ/Android Studio na lista de ignorados do git. --- app/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/app/.gitignore b/app/.gitignore index 607adf0..10647c3 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1,2 +1,3 @@ /build +.idea /app/google-services.json \ No newline at end of file From 22c4d0bbcd09de5a3bdda437dd590f22e8ac11d6 Mon Sep 17 00:00:00 2001 From: guilh Date: Sat, 13 Dec 2025 15:45:31 -0300 Subject: [PATCH 3/6] Bump version to 1.0.3 --- app/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4e4b63c..7571517 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -16,8 +16,8 @@ android { applicationId = "com.delecrode.devhub" minSdk = 30 targetSdk = 36 - versionCode = 2 - versionName = "1.0.2" + versionCode = 3 + versionName = "1.0.4" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } From ad14aeaf22bbd1dcfa2493aff6b9cb34a9a6fd34 Mon Sep 17 00:00:00 2001 From: guilh Date: Sat, 13 Dec 2025 15:48:39 -0300 Subject: [PATCH 4/6] Bump version to 1.0.5 --- app/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 7571517..1011ff9 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -16,8 +16,8 @@ android { applicationId = "com.delecrode.devhub" minSdk = 30 targetSdk = 36 - versionCode = 3 - versionName = "1.0.4" + versionCode = 4 + versionName = "1.0.5" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } From 10417c88b7e1cb750aab7b5b3adb032cbec5ea0f Mon Sep 17 00:00:00 2001 From: guilh Date: Sat, 13 Dec 2025 15:58:23 -0300 Subject: [PATCH 5/6] Seguindo o estilo dos exemplos fornecidos: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ajustada permissão e caminho do APK no workflow de release Android - Adicionada permissão de escrita (`contents: write`) para criar releases no GitHub. - Incluído passo para listar saídas do APK para debug. - Corrigido caminho do arquivo APK para upload no `action-gh-release` (`app/release/app-release.apk`). --- .github/workflows/android-release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index 5790b17..64e2083 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -5,6 +5,9 @@ on: tags: - "v*" +permissions: + contents: write + jobs: release: runs-on: ubuntu-latest @@ -30,11 +33,14 @@ jobs: - name: Build Release APK run: ./gradlew assembleRelease + - name: List APK outputs + run: ls -R app/build/outputs/apk + - name: Create GitHub Release and Upload APK uses: softprops/action-gh-release@v2 with: tag_name: ${{ github.ref_name }} name: Release ${{ github.ref_name }} - files: app/build/outputs/apk/release/app-release.apk + files: app/release/app-release.apk env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 25ba84673bcd88158943ad4f2dc7086c7094301d Mon Sep 17 00:00:00 2001 From: guilh Date: Sat, 13 Dec 2025 15:59:20 -0300 Subject: [PATCH 6/6] Bump version to 1.0.6 --- app/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 1011ff9..e0eaa6a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -16,8 +16,8 @@ android { applicationId = "com.delecrode.devhub" minSdk = 30 targetSdk = 36 - versionCode = 4 - versionName = "1.0.5" + versionCode = 6 + versionName = "1.0.6" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" }