Skip to content

Commit

Permalink
[dev] - updated workflow added commit as release notes and app versio…
Browse files Browse the repository at this point in the history
…n code auto increment
  • Loading branch information
syedahmedjamil committed Dec 27, 2023
1 parent 8bc6ffb commit 69fed51
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:
paths-ignore:
- '.github/**'
branches: [ "main" ]


workflow_dispatch:

jobs:
upload:
runs-on: macos-latest
Expand Down Expand Up @@ -38,7 +40,10 @@ jobs:
echo $CERTIFICATE_BASE64 | base64 --decode > app/main-firebase-app-distribution-admin-key.json
- name: Assemble Signed Release Apk
run: ./gradlew assembleRelease
run: ./gradlew assembleRelease -PversionCode=${{ github.run_number }}

- name: Generate Release Notes From Last Commit
run: git log -1 > app/release-notes.txt

- name: Upload To Firebase App Distribution
run: ./gradlew appDistributionUploadRelease

0 comments on commit 69fed51

Please sign in to comment.