From 8fd536b77ff64d0f529e8e8e87f26df2d1edd098 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Mon, 9 Oct 2023 17:49:15 +0200 Subject: [PATCH] ci: Fetch all revisions to calculate correct versionCode (#147) Previous configuration only fetched the most recent revision. Since the `orangeRelease` `versionCode` is calculated from the number of previous revisions this always set the `versionCode` to 1. Fetch all revisions to avoid this. --- .github/workflows/upload-orange-release-google-play.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/upload-orange-release-google-play.yml b/.github/workflows/upload-orange-release-google-play.yml index 3504987fa..cda14cb74 100644 --- a/.github/workflows/upload-orange-release-google-play.yml +++ b/.github/workflows/upload-orange-release-google-play.yml @@ -10,6 +10,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-java@v3 with: