From 449f9daac9e7154115ae6eec578d1369a84473bc Mon Sep 17 00:00:00 2001 From: lydiasama Date: Mon, 11 Mar 2024 18:27:18 +0700 Subject: [PATCH] [#490] Update step name --- .cicdtemplate/.codemagic/codemagic.yaml | 2 +- codemagic.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.cicdtemplate/.codemagic/codemagic.yaml b/.cicdtemplate/.codemagic/codemagic.yaml index 5f4158a11..c21301bbc 100644 --- a/.cicdtemplate/.codemagic/codemagic.yaml +++ b/.cicdtemplate/.codemagic/codemagic.yaml @@ -97,7 +97,7 @@ workflows: - name: Build APK for production script: | ./gradlew assembleProductionDebug -PversionCode=$BUILD_NUMBER - - name: Generating release notes with git commits from the latest tag + - name: Generate release notes with git commits from the latest tag script: | RELEASE_NOTE_CONTENT="$(git log --merges --pretty=%B $(git describe --abbrev=0 --tags)..HEAD | grep "\[")" echo "$RELEASE_NOTE_CONTENT" | tee release_notes.txt diff --git a/codemagic.yaml b/codemagic.yaml index d8b0024ef..cf26e32ea 100644 --- a/codemagic.yaml +++ b/codemagic.yaml @@ -63,7 +63,7 @@ workflows: working_directory: ./template-compose script: | ./gradlew assembleStagingDebug -PversionCode=$BUILD_NUMBER - - name: Generating release notes with the latest git commit + - name: Generate release notes with the latest git commit script: | RELEASE_NOTE_CONTENT="$((git log -1 --merges | grep "\[") | grep . && echo "" || echo $(git log -1 --merges --format=%B))" echo "$RELEASE_NOTE_CONTENT" | tee release_notes.txt @@ -101,7 +101,7 @@ workflows: working_directory: ./template-compose script: | ./gradlew assembleProductionDebug -PversionCode=$BUILD_NUMBER - - name: Generating release notes with git commits from the latest tag + - name: Generate release notes with git commits from the latest tag script: | RELEASE_NOTE_CONTENT="$(git log --merges --pretty=%B $(git describe --abbrev=0 --tags)..HEAD | grep "\[")" echo "$RELEASE_NOTE_CONTENT" | tee release_notes.txt