From 12e5b89056580c268b0cb75cf909fb12dcdb1078 Mon Sep 17 00:00:00 2001 From: Adrian Castro <22133246+castdrian@users.noreply.github.com> Date: Thu, 7 Mar 2024 17:30:40 +0100 Subject: [PATCH] chore: more workflow adjusting --- .github/workflows/release-mobile.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-mobile.yml b/.github/workflows/release-mobile.yml index 84fbb9a4..5fa9c4f8 100644 --- a/.github/workflows/release-mobile.yml +++ b/.github/workflows/release-mobile.yml @@ -159,6 +159,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Download build artifacts uses: actions/download-artifact@v4 @@ -173,10 +175,10 @@ jobs: - name: Get new version and release date id: vars run: | - VERSION=$(jq -r '.version' package.json) - DATE=$(date -Iseconds) - echo "::set-output name=version::$VERSION" - echo "::set-output name=date::$DATE" + VERSION=$(jq -r '.version' apps/expo/package.json) + DATE=$(date -Iseconds) + echo "::set-output name=version::$VERSION" + echo "::set-output name=date::$DATE" - name: Update app-repo.json run: | @@ -200,4 +202,3 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 -