From 9255d0c11e84fb85229ea0c9e0d6304685699fc0 Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Mon, 1 Aug 2022 15:16:14 +0100 Subject: [PATCH] agaiun --- .github/workflows/build-macos.yml | 1 + resources/version.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index bfbc7cdd..a146cbba 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -48,6 +48,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 with: + ref: ${{ github.sha }} submodules: true - name: Change Version diff --git a/resources/version.sh b/resources/version.sh index 1e5dadb5..45fbd8b1 100755 --- a/resources/version.sh +++ b/resources/version.sh @@ -5,7 +5,7 @@ STABLE_SHA=$(curl -s https://api.github.com/repos/ciderapp/Cider/branches/stable COMMITSINCESTABLE=$(git rev-list $STABLE_SHA..$GITHUB_SHA --count) CURRENT_VERSION=$(node -p -e "require('./package.json').version") -git rev-list --all --count +git rev-list --all #############################################################################################