From bb15ba87a30ecd87c2366c64d89a9711036b361f Mon Sep 17 00:00:00 2001 From: Omid Marfavi <21163286+marfavi@users.noreply.github.com> Date: Thu, 16 Nov 2023 20:39:41 +0100 Subject: [PATCH] build: add branch/PR info to dev release notes (#546) fix whitespace --- .github/workflows/codesee.yml | 2 +- .github/workflows/release-dev.yml | 12 ++++++++++-- .github/workflows/release-prod.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codesee.yml b/.github/workflows/codesee.yml index 5e38b969b..5b45bb69a 100644 --- a/.github/workflows/codesee.yml +++ b/.github/workflows/codesee.yml @@ -2,7 +2,7 @@ # This is v2.0 of this workflow file on: push: - branches: [ main ] + branches: [main] pull_request_target: types: [opened, synchronize, reopened] diff --git a/.github/workflows/release-dev.yml b/.github/workflows/release-dev.yml index a2b1f59b8..e79275147 100644 --- a/.github/workflows/release-dev.yml +++ b/.github/workflows/release-dev.yml @@ -2,7 +2,7 @@ name: Publish Development App on: pull_request: - branches: [ main ] + branches: [main] jobs: build: @@ -36,6 +36,10 @@ jobs: # serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }} groups: analogio-devs file: Analog.ipa + releaseNotes: | + ${{ github.event.pull_request.title }} + ${{ github.event.pull_request.html_url }} + (branch ${{ github.head_ref }}) upload_android: name: Upload Android build to Firebase App Distribution @@ -47,7 +51,7 @@ jobs: uses: actions/download-artifact@v3.0.2 with: name: android - + - name: Firebase App Distribution uses: wzieba/Firebase-Distribution-Github-Action@v1.7.0 with: @@ -57,3 +61,7 @@ jobs: # serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }} groups: analogio-devs file: android.apk + releaseNotes: | + ${{ github.event.pull_request.title }} + ${{ github.event.pull_request.html_url }} + (branch ${{ github.head_ref }}) diff --git a/.github/workflows/release-prod.yml b/.github/workflows/release-prod.yml index 2ff9d5635..881ef142b 100644 --- a/.github/workflows/release-prod.yml +++ b/.github/workflows/release-prod.yml @@ -2,7 +2,7 @@ name: Release Production App on: release: - types: [ created ] + types: [created] jobs: build: @@ -26,7 +26,7 @@ jobs: uses: actions/download-artifact@v3.0.2 with: name: ios - + - name: Upload app to App Store Connect env: APP_STORE_CONNECT_USERNAME: ${{ secrets.APP_STORE_CONNECT_USERNAME }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ee0e0936..34e3cfa08 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: Test on: pull_request: - branches: [ main ] + branches: [main] workflow_call: @@ -30,4 +30,4 @@ jobs: uses: codecov/codecov-action@v3.1.4 with: flags: unittests - file: coverage/lcov.info \ No newline at end of file + file: coverage/lcov.info